The ℓ2 norm of a matrix is an operator norm (see Section 14.4.6) induced by the ℓ2 norm on vectors (see Section 13.1.1). The l2norm or norm command computes the ℓ2 norm of a matrix.