15.1.5 Rank of a matrix
The
rank
command finds the rank of a matrix.
rank
takes
A
, a matrix.
rank(
A
)
returns the rank of the matrix
A
.
Examples
rank
([[1,2],[3,4]])
2
rank
([[1,2],[2,4]])
1