MATLAB Answers

solve system of equations without using matrices.

23 views (last 30 days)
Luca
Luca on 11 Jan 2018
Answered: Luca on 23 Jan 2018
Hi, Is it possible to solve a system of equations without using matrices? That is, Can I write a series of unordered linear equations and find the solution?

  1 Comment

Luca
Luca on 15 Jan 2018
syms x y z
eqn1 = 2*x^2 + y + z == 2;
eqn2 = -x + y - z +1== 3;
eqn3 = 2*y + 3*z == -10;
sol = solve([eqn1, eqn2, eqn3], [x, y, z]);
sol.x
sol.y
sol.z
that's ok,but isn't...
syms x y z
eqn1 = 2*x^2 + y + z == 2a;
eqn2 = -x + y - z +b == 3;
eqn3 = 2*y +c + 3*z == -10;
sol = solve([eqn1, eqn2, eqn3], [x, y, z]);
sol.x
sol.y
sol.z
why? Could you help me please? how do you proceed in these cases?

Sign in to comment.

Answers (1)

Luca
Luca on 23 Jan 2018
no one..

  0 Comments

Sign in to comment.

Sign in to answer this question.