Gaussian elimination method with MatLab

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

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2012 年 8 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by