Previous Up Next

6.50.2  ℓ2 matrix norm: norm l2norm

The ℓ2 norm of a matrix is an operator norm (see Section 6.50.6) induced by the ℓ2 norm on vectors (see Section 6.42.1). The l2norm computes the ℓ2 norm of a matrix.
norm is a synonym for l2norm.


Example.
Input:

l2norm([[1,2],[3,-4]])

Output:

5.11667273602

Previous Up Next