Gaussian elimination method with MatLab

5 vues (au cours des 30 derniers jours)
Lukumon Kazeem
Lukumon Kazeem le 3 Août 2012
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 commentaire
Matt Kindig
Matt Kindig le 7 Août 2012
Modifié(e) : Matt Kindig le 7 Août 2012
I think rref is what you want.
doc rref
By the way, your "reduced" matrix reduces further to the 3x3 identity matrix.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by