Skip to content

normest

linear-algebra · scripts/linear-algebra/normest.m

: nrm = normest (S)
: nrm = normest (S, tol)
: [nrm, count] = normest (…)

Estimate the 2-norm of the matrix S with the power method.

The iteration stops when the relative change of the estimate drops below tol (default 1e-6) or after 100 iterations. The matrix is rescaled internally, so entries of any magnitude are handled.