Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual
Version:

    Returns the rank of a matrix. MathScript determines the numerical rank according to the number of singular values larger than the tolerance.

    Syntax

    n = rank(a)
    n = rank(a, tol)

    Inputs

    a

    Matrix of floating-point or complex numbers.

    tol

    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.

    Outputs

    n

    Returns the rank of a. n is an integer.