I am new in Matlab,
I Have 3 equation like this:
-5*x + y + z == 0;
x – 2*y + z == 0;
x + y – z == 0;
I want to have the value of y and z based on x
for example
z= 3*x
y= 2*x
can any one help me?
(if ‘solve’ (matlab command) can be used, please explain how?)one
A possible way to solve this question is by using the symbolic toolbox.
I would proceed as follows:
The results are gonna be
This means that the triplet
(x,y,z)will assume a different value depending on the value you assign tou, as for exampleI hope this will clarify any doubt you may have.