solve by the matrix method

x1+2x2-x3+x4=28
2x1+4x2-3x3+x4=55
-4x1+8x2-12x3-x4=-93
-x1+16x2+x3+2x4=-7

댓글 수: 1

Torsten
Torsten 2023년 11월 16일
What do you call "the matrix method" ?

댓글을 달려면 로그인하십시오.

답변 (2개)

Star Strider
Star Strider 2023년 11월 16일

0 개 추천

Solving it symbolically —
syms x1 x2 x3 x4
Eqns = [x1+2*x2-x3+x4==28
2*x1+4*x2-3*x3+x4==55
-4*x1+8*x2-12*x3-x4==-93
-x1+16*x2+x3+2*x4==-7]
Eqns = 
[A,b] = equationsToMatrix(Eqns)
A = 
b = 
x1x2x3x4 = linsolve(A,b)
x1x2x3x4 = 
.

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

질문:

2023년 11월 16일

댓글:

2023년 11월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by