MATLAB Functions | Help Desk |
norm
Vector and matrix norms
nThe norm of a matrix is a scalar that gives some measure of the magnitude of the elements of the matrix. The=
norm(A) n
=
norm(A,p)
norm
function calculates several different types of matrix norms:
n = norm(A)
returns the largest singular value of A
, max(svd(A))
.
n = norm(A,p
)
returns a different kind of norm, depending on the value of p:
|
---|
A
is a vector, slightly different rules apply:norm(A)/sqrt(n)
.
Note that norm(A)
, where A
is an n
-element vector, is the length of A
.
cond
Condition number with respect to inversion
normest
2-norm estimate
svd
Singular value decomposition