row-echelon matrix form (not reduced)

답변 (2개)

Nagabhushan SN
Nagabhushan SN 2018년 10월 9일

3 개 추천

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

Brahim
Brahim 2023년 1월 10일
what does the P stand for?
Joe
Joe 2023년 4월 14일
Permutation

댓글을 달려면 로그인하십시오.

Ivan van der Kroon
Ivan van der Kroon 2011년 5월 31일

1 개 추천

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

Eric T
Eric T 2016년 6월 28일
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 2018년 7월 20일
yes ,it would be a good idea, especially since Lay's Linear Algebra seems to prefer Matlab
Charles Daniels
Charles Daniels 2020년 9월 23일
it should be implemented the same way TI does in their calculators, for consistency

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

질문:

ali
2011년 5월 31일

댓글:

Joe
2023년 4월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by