rank
Rank of matrix.
Syntax
- r = rank(A)
- r = rank(A, tol)
Input argument
- A - matrix: double or single
- tol - tolerance
Output argument
- r - a numeric value: a scalar.
Description
rank(A) returns the number of linearly independent columns in a matrix (rank of the matrix).
Example
X = rand(10, 10);
r = rank(X)
See also
svd.
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET