How to calculate the rank of a matrix?
rank: number of pivots in a matrix.
pivot position: the location that corresponds to a leading 1 in the rref of a matrix.
rref: reduced row echelon form.
Example:
A = R2 = R2-2*R1;R3 = R3-2*R1. we get the matrix like this:
continue