hallar la solucion de

2X1 + 4X2 +6X3 = 18
4X1 +5X2 +6X3 = 24
3X1 +X2 -2X3 = 4

1 件のコメント

Torsten
Torsten 2026 年 4 月 26 日
編集済み: Torsten 2026 年 4 月 26 日
Write your system of linear equations as A*x = b for a (3x3)-matrix A and a (3x1)-vector b and solve for x using x = A\b :

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2026 年 4 月 26 日

0 投票

syms X1 X2 X3
eqns = [2*X1 + 4*X2 + 6*X3 == 18
4*X1 + 5*X2 + 6*X3 == 24
3*X1 + X2 - 2*X3 == 4]
eqns = 
sol = solve(eqns)
sol = struct with fields:
X1: 4 X2: -2 X3: 3
%crosscheck
subs(eqns, sol)
ans = 

カテゴリ

ヘルプ センター および File ExchangePhysics についてさらに検索

質問済み:

2026 年 4 月 26 日

回答済み:

2026 年 4 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by