Input Arguments

v — Input vectorvector

X — Input matrixmatrix

Input matrix.

Data Types: single | doubleComplex Number Support: Yes

p — Norm type2 (default) | positive integer scalar | Inf | -Inf

Norm type, specified as 2 (default), a different
positive integer scalar, Inf, or -Inf.
The valid values of p and what they return depend
on whether the first input to norm is a matrix
or vector, as shown in the table.

Note

This table does not reflect the actual algorithms used in calculations.