MATLAB Answers

# row-echelon matrix form (not reduced)

316 views (last 30 days)
ali on 31 May 2011
Answered: Nagabhushan SN on 9 Oct 2018
what is row-echelon matrix form (not reduced) in matlab?

#### 0 Comments

Sign in to comment.

### Answers (2)

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);

#### 0 Comments

Sign in to comment.

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.

#### 2 Comments

Eric T on 28 Jun 2016
That's fine, though: eigenvectors are not unique either, and there is a function that returns eigenvectors. It wouldn't be that hard to produce it, as you said, as long as it is in upper triangular form (this is like LU factorization which is also underdetermined, but matlab does). I think it would be instructive for Matlab to provide this for my students....I could have them compare rref(A) and (the nonexistent) ref(A)...
Carol Hurwitz on 20 Jul 2018
yes ,it would be a good idea, especially since Lay's Linear Algebra seems to prefer Matlab

Sign in to comment.

Sign in to answer this question.