Gaussian elimination method with MatLab

조회 수: 3 (최근 30일)
Lukumon Kazeem
Lukumon Kazeem 2012년 8월 3일
Please how can I use MatLab to perform Gaussian elimination on the matrix
[1 2 3, 2 -1 -1, 3 2 1].
The answer for the above matrix extracted from the text book is
[1 2 -3, 0 -5 5, 0 0 6].
  댓글 수: 1
Matt Kindig
Matt Kindig 2012년 8월 7일
편집: Matt Kindig 2012년 8월 7일
I think rref is what you want.
doc rref
By the way, your "reduced" matrix reduces further to the 3x3 identity matrix.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by