MATLAB rref

The rref function calculates the reduced row echelon form of a matrix.


Usage

A = [1 2 1 2; 3 8 1 12; 0 4 1 2];
B = rref(a)

The optional second return value is a vector of pivot column indices.

[B, pivotsB] = rref(a);


CategoryRicottone

MATLAB/Rref (last edited 2026-01-05 17:17:14 by DominicRicottone)