Member of the linalgebra class.
k = norm(a)
k = norm(a, type)
Computes the norm of a vector or matrix.
| Name | Description | ||||||||
| a | Specifies a vector or matrix. | ||||||||
| type | Specifies the norm type. type is a scalar or string that accepts the following values.
|
| Name | Description |
| k | Returns the norm type of a. |
A = [1, 2, 3; 4, 5, 6; 7, 8, 9]
C = norm(A, 'fro')