Solve the given system of equations using the Gauss-Jordan elimination method with MATLAB.
13 views (last 30 days)
Show older comments
How can i solve this 4x4 equations using the Gauss-Jordan elimination with MATLAB/octave?
0 Comments
Answers (1)
KSSV
on 22 Feb 2023
Read about rref
A = [0.1 -2.5 1.2 -0.75 108 ;
2.4 1.5 -1.8 0.25 -81;
0.4 -3.2 1.6 -1.4 148.8;
1.6 1.2 -3.2 0.6 -143.2] ;
[R,p] = rref(A) ;
R(:,end)
% Check
A(:,1:4)*R(:,end)
0 Comments
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!