rank calculator for 3*3 third-order matrix

input value:

rank of 3*3 matrix:

according to the principle of elementary row transformation, the original matrix is ​​transformed into a ladder matrix. the total number of rows minus the number of rows that are all zero, that is, the number of non-zero rows, is the rank of the matrix.