Returns the rank of a matrix. MathScript determines the numerical rank according to the number of singular values larger than the tolerance.
n = rank(a)
n = rank(a, tol)
Matrix of floating-point or complex numbers.
Tolerance of a. tol is a scalar. If you do not specify tol, MathScript computes the tolerance using the following equation: tol = max(size(a))*(norm(a)*eps. eps is defined by the following equation: eps= 2^(-52) = 2.22e-16.
Returns the rank of a. n is an integer.
B = [1, 2, 3; 4, 5, 6] A = B'*B rank(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported