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

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site