rank
Rank of matrix.
📝Syntax
r = rank(A)
r = rank(A, tol)
📥Input Arguments
Parameter Description
A matrix: double or single
tol tolerance
📤Output Arguments
Parameter Description
r a numeric value: a scalar.
📄Description

rank(A) returns the number of linearly independent columns in a matrix (rank of the matrix).

💡Examples
X = rand(10, 10);
r = rank(X)
🔗See Also
svd
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub