norm — matrix norms
[y]=norm(x [,flag])
real or complex vector or matrix (full or sparse storage)
string (type of norm) (default value =2)
For matrices
or norm(x,2)
is the largest singular value
of x
(max(svd(x))
).
The l_1 norm x
(the largest column sum :
maxi(sum(abs(x),'r'))
).
The infinity norm of x
(the largest row sum
: maxi(sum(abs(x),'c'))
).
Frobenius norm i.e.
sqrt(sum(diag(x'*x)))
For vectors
l_p norm (sum(v(i)^p))^(1/p)
.
: =norm(v,2)
: l_2 norm
: max(abs(v(i)))
.