Solve the given system of equations using the Gauss-Jordan elimination method with MATLAB.
3 ビュー (過去 30 日間)
古いコメントを表示
How can i solve this 4x4 equations using the Gauss-Jordan elimination with MATLAB/octave?

0 件のコメント
回答 (1 件)
KSSV
2023 年 2 月 22 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Octave についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!