row-echelon matrix form (not reduced)

Respuestas (2)

Nagabhushan SN
Nagabhushan SN el 9 de Oct. de 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);

2 comentarios

Brahim
Brahim el 10 de En. de 2023
what does the P stand for?
Joe
Joe el 14 de Abr. de 2023
Permutation

Iniciar sesión para comentar.

Ivan van der Kroon
Ivan van der Kroon el 31 de Mayo de 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 comentarios

Eric T
Eric T el 28 de Jun. de 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
Carol Hurwitz el 20 de Jul. de 2018
yes ,it would be a good idea, especially since Lay's Linear Algebra seems to prefer Matlab
Charles Daniels
Charles Daniels el 23 de Sept. de 2020
it should be implemented the same way TI does in their calculators, for consistency

Iniciar sesión para comentar.

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

ali
el 31 de Mayo de 2011

Comentada:

Joe
el 14 de Abr. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by