Computes the reduced row echelon form of a matrix with Gaussian elimination using partial pivoting.
r = rref(a)
[r, jb] = rref(a)
[r, jb] = rref(a, tol)
Real or complex matrix.
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.
Reduced row echelon form of a.
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