rank linear-algebra · scripts/linear-algebra/rank.m : r = rank (A) ¶ : r = rank (A, tol) ¶ Numerical rank: the number of singular values of A that exceed tol. The default tolerance is max (size (A)) * eps (max (svd (A))).