linear equation solve by solve command

1 vue (au cours des 30 derniers jours)
MANANJAYA NAYAK
MANANJAYA NAYAK le 11 Oct 2022
Commenté : Torsten le 11 Oct 2022
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 commentaires
MANANJAYA NAYAK
MANANJAYA NAYAK le 11 Oct 2022
i want to show the value of x
for example may be x=?y+?z like this formate i want see
Torsten
Torsten le 11 Oct 2022
The value of x is 2, the value of y is -3 and the value of z is 5.
Nothing more to see here.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by