Exercise write a MATLAB script mfile that applies GaussJorda
Exercise: write a MATLAB script m-file that applies Gauss-Jordan elimination to A CA I B] with T-1 3 1 1 2 -60 2 -1 3 2 3 1 3 2 5 for the purpose of solving the system oflinear algebraic equations AX-B
Solution
//R = rref(A) produces the reduced row echelon form of A using Gauss Jordan elimination with partial pivoting. A //default tolerance of (max(size(A))*eps *norm(A,inf)) tests for negligible column elements.
R = rref(A)
// now you can compare these result from the guass jorden elimination and through matlab rref comand.
![Exercise: write a MATLAB script m-file that applies Gauss-Jordan elimination to A CA I B] with T-1 3 1 1 2 -60 2 -1 3 2 3 1 3 2 5 for the purpose of solving th Exercise: write a MATLAB script m-file that applies Gauss-Jordan elimination to A CA I B] with T-1 3 1 1 2 -60 2 -1 3 2 3 1 3 2 5 for the purpose of solving th](/WebImages/45/exercise-write-a-matlab-script-mfile-that-applies-gaussjorda-1143450-1761613847-0.webp)