i have 2 linear equations 2 unknowns
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
david edwards jr
le 23 Août 2018
Commenté : Star Strider
le 23 Août 2018
b0 = c0+3*c1 b1 = c0-5*c1 unknowns are c0 c1. b0,b1 are non variables which should appear in the solution.
thank you david
0 commentaires
Réponse acceptée
Star Strider
le 23 Août 2018
Using the Symbolic Math Toolbox:
syms b0 b1 c0 c1
Eq1 = b0 == c0+3*c1;
Eq2 = b1 == c0-5*c1;
[c0,c1] = solve(Eq1, Eq2)
produces:
c0 =
(5*b0)/8 + (3*b1)/8
c1 =
b0/8 - b1/8
4 commentaires
Star Strider
le 23 Août 2018
My pleasure.
If my Answer helped you solve your problem, please Accept it!
Plus de réponses (1)
Voir également
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!