Vector-wise norm
N = vecnorm( returns the 2-norm or
Euclidean
norm of A)A:
If A is a vector, then vecnorm
returns the norm of the vector.
If A is a matrix, then vecnorm
returns the norm of each column.
If A is a multidimensional array, then
vecnorm returns the norm along the first array
dimension whose size does not equal 1.
N = vecnorm(
calculates the generalized
vector p-norm.A,p)