solve system of equations without using matrices.
Mostrar comentarios más antiguos
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?
5 comentarios
Sebastian Otegui
el 11 de Abr. de 2020
Ok I'm two years late but I think that its suppesed to be 2*a instead of 2a.
Luca
el 11 de Abr. de 2020
Tommy
el 11 de Abr. de 2020
What if you declare a, b, and c as symbolic also?
syms x y z a b c
eqn1 = 2*x^2 + y + z == 2*a;
eqn2 = -x + y - z +b == 3;
eqn3 = 2*y +c + 3*z == -10;
sol = solve([eqn1, eqn2, eqn3], [x, y, z]);
Luca
el 12 de Abr. de 2020
Respuestas (0)
Categorías
Más información sobre Equation Solving en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!