Computes the norm of a vector or matrix.
k = norm(a)
k = norm(a, type)
Vector or matrix of double-precision, floating-point or complex double-precision, floating-point numbers.
Norm type. type is a scalar or string. type accepts the following values.
Computes the 1-norm, if a is a matrix.
Computes the Euclidean norm, if a is a matrix.
Computes the max-norm, if a is a matrix.
Computes the Frobenius norm, if a is a matrix.
Computes the k-norm, if a is a vector. k is a positive integer. The default value is 2.
Computes the maximum absolute value of a if a is a vector.
Computes the minimum absolute value of a if a is a vector.
Norm type of a.
A = [1, 2, 3; 4, 5, 6; 7, 8, 9] C = norm(A, 'fro')
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported