Table Of Contents

rref

Version:
    Last Modified: March 15, 2017

    Computes the reduced row echelon form of a matrix with Gaussian elimination using partial pivoting.

    Syntax

    r = rref(a)
    [r, jb] = rref(a)
    [r, jb] = rref(a, tol)

    Inputs

    a

    Real or complex matrix.

    tol

    Tolerance in the rank test. tol is a positive number. The default is 1e-16*m*n*infnorm, where m is the number of rows in a, n is the number of columns in a, and infnorm is the inf-norm of a. If tol is less than or equal to 0, MathScript uses the default value.

    Outputs

    r

    Reduced row echelon form of a.

    jb

    Vector of indexes such that r(1:len, jb) is the r-by-r identity matrix, where len = length(jb), and a(:, jb) is a basis for the range of a.

    [R, JB] = rref([1, 2; 4, 1])

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics