linear system of equations
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
richard
el 2 de Jul. de 2014
Respondida: Gaurisha
el 18 de Ag. de 2022
I am trying to use 'solve' to solve this system of equations:
solve('5*x+6*y=5','10*x+12*y=10')
and I get the a return saying:
Warning: The solutions are parametrized by the symbols:
z = C_
and when I try to look at the solutions it introduces the variable z :
soln =
[ 1 - (6*z)/5, z]
How can I fix this?
0 comentarios
Respuesta aceptada
bym
el 2 de Jul. de 2014
Your equations are not independent. The second is 2 times the first
0 comentarios
Más respuestas (1)
Gaurisha
el 18 de Ag. de 2022
parametrized by the symbols means the equation has a common parameter making them dependent on each other. So you can't solve them as simultaneous equations.
0 comentarios
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!