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!