norm
Norm of a vector or matrix.
v=norm(a)
v=norm(a, n)
Inputs
a Any vector or matrix.
n A scalar specifying the type of norm to be computed.
Outputs
v The computed norm.


Description
If a is a vector, n can be any positive integer. If n is Inf , the maximum of the absolute value of the elements of a is returned.

If a is a matrix, n can only be 1 , 2 or inf , for computing, respectively, the 1-norm , the 2-norm or inf-norm of the input.