Solving simultaneous equations without martix method
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
bondpen
el 11 de Ag. de 2018
Respondida: Star Strider
el 11 de Ag. de 2018
Hi
What is simply way to solve for a simultaneous equation like below without the uses of matrix method. I was hoping to implement to a hard equation as below is just a example.
x+y=10
x+2*y=15
0 comentarios
Respuesta aceptada
Star Strider
el 11 de Ag. de 2018
You would most likely have to use the Symbolic Math Toolbox:
syms x y
Eq1 = x + y == 10;
Eq2 = x + 2*y == 15;
[x,y] = solve(Eq1, Eq2)
x =
5
y =
5
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!