RANK

Number of linearly independent rows or columns.

K = RANK(X) is the number of singular values of X

that are larger than MAXMVMWU2(SIZE281GDAB(X)) * NORM3BIWKE7(X) * EPSMO1RU2.

K = RANK(X,tol) is the number of singular values of X that

are larger than tol.