norm(m,n)

The norm(m,n) function produces the Euclidean norm for vectors and the spectral norm for matrices.

Examples

OML

>> norm([1 2 3])

3.74166