MATLAB Answers

row-echelon matrix form (not reduced)

488 views (last 30 days)
ali
ali on 31 May 2011
Commented: Charles Daniels on 23 Sep 2020
what is row-echelon matrix form (not reduced) in matlab?

Answers (2)

Nagabhushan SN
Nagabhushan SN on 9 Oct 2018
lu(A)
performs LU factorization of a matrix. So, you can get upper triangular matrix from there. Not sure though if it performs Gauss reduction
[L,U,P] = lu(A);

Ivan van der Kroon
Ivan van der Kroon on 31 May 2011
With rref you will produce the reduced row echelon form, see
doc rref
But a non-reduced form is not unique. See for instance wikipedia: http://en.wikipedia.org/wiki/Gaussian_elimination. You can multiply individual rows with a scalar and/or add rows to other rows. It is in echelon form as long as it is upper-triangular.
  3 Comments
Charles Daniels
Charles Daniels on 23 Sep 2020
it should be implemented the same way TI does in their calculators, for consistency

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!