Is there a MATLAB routine that uses the Gauss-Jordan method?
5 views (last 30 days)
Show older comments
MathWorks Support Team
on 22 Jun 2011
Edited: MathWorks Support Team
on 13 Sep 2024
Gauss-Jordan reduction is a way to reduce a matrix to diagonal form. You can use this to compute the inverse of a matrix or solve a linear system.
Accepted Answer
MathWorks Support Team
on 13 Sep 2024
Edited: MathWorks Support Team
on 13 Sep 2024
For most applications, the Gauss-Jordan method is an unnecessarily expensive way to do these computations. Our backslash operator (\), which indirectly finds the inverse and also solves linear systems, uses Gaussian elimination which is different than the Gauss-Jordan method. You can read more about the backslash operator within our documentation, shown at the following URL:
You can also use the RREF function to produce the reduced row echelon form of a matrix using Gauss Jordan elimination with partial pivoting.
0 Comments
More Answers (0)
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!