narginchk checks the number of input arguments of an function.
+To ensure that a minimum number of arguments is provided, while allowing an unlimited maximum number by setting maxArgs to inf. For instance, use narginchk(2, inf) to throw an error if fewer than two inputs are supplied.
nargoutchk checks the number of output arguments of an function.
+To ensure a minimum number of outputs while imposing no maximum limit, set maxArgs to inf. For example, nargoutchk(2, inf) generates an error if fewer than two outputs are specified.
mustBeColumn checks that value is a column vector or raise an error.
+mustBeMatrix checks that value is a matrix or raise an error.
+mustBeRow checks that value is a row vector or raise an error.
+