Owning Class: linalgebra
Requires: MathScript RT Module
[r, jb] = rref(a)
[r, jb] = rref(a, tol)
Computes the reduced row echelon form of a matrix with Gaussian elimination using partial pivoting.
| Name | Description |
|---|---|
| a | Specifies a real or complex matrix. |
| tol | Specifies the 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, LabVIEW uses the default value. |
| Name | Description |
|---|---|
| r | Returns the reduced row echelon form of a. |
| jb | Returns 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])