Effacer les filtres
Effacer les filtres

solve system of equations without using matrices.

4 vues (au cours des 30 derniers jours)
Luca
Luca le 11 Jan 2018
Commenté : Luca le 12 Avr 2020
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 commentaires
Tommy
Tommy le 11 Avr 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
Luca le 12 Avr 2020
Yep

Connectez-vous pour commenter.

Réponses (0)

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by