linear equation solve by solve command
1 回表示 (過去 30 日間)
古いコメントを表示
i want to show the value of x in terms of y & z
syms x y z
a=x + y +z ==4
b=2*x -3*y +4*z == 33
c=3*x -2*y -2*z ==2
d=[a,b,c]
e=solve(d,[x,y,z])
xvalue=e.x
yvalue=e.y
zvalue=e.z
3 件のコメント
Torsten
2022 年 10 月 11 日
The value of x is 2, the value of y is -3 and the value of z is 5.
Nothing more to see here.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!