Gaussian elimination method with MatLab

3 次查看(过去 30 天)
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