This function declares two input arguments. Input A
must be a numeric vector and input offset
must be a scalar that is not equal to zero.
Calling the function with a value for offset
equal to zero does not meet the requirements of mustBeNonzero
and results in an error.
Error using mbNonzero
Invalid input argument at position 2. Value must not be zero.