MATLAB Function Reference | Search  Help Desk |
norm | See Also |
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,p) |
Returns sum(abs(A).^ p)^(1/ p) , for any . |
norm(A) |
Returns norm(A,2) . |
|
Returns max(abs(A)) . |
|
Returns min(abs(A)) . |
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