linear equation solve by solve command

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

Do not know what you are asking. x=2
[1 1 1;2 -3 4;3 -2 -2]\[4;33;2]
ans = 3×1
2.0000 -3.0000 5.0000
i want to show the value of x
for example may be x=?y+?z like this formate i want see
Torsten
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개)

카테고리

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

제품

릴리스

R2019b

태그

질문:

2022년 10월 11일

댓글:

2022년 10월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by