Reference: rank
rank(M) returns the rank of the real or complex matrix M, i.e. the dimension of the column (or, equivalently, row) space of M.
rank(M) returns the rank of the real or complex matrix M, i.e. the dimension of the column (or, equivalently, row) space of M.