System of equations error
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Why do I recvie an error saying: Undefined function or variable 'z'
when trying to solve the following system of equations:
sol=solve(['5=x','-6x+10y-3z=0','-y+51z=0'],[x,y,z])
0 comentarios
Respuestas (1)
Kevin Phung
el 21 de Mzo. de 2019
Editada: Kevin Phung
el 21 de Mzo. de 2019
syms x y z
sol=solve([x==5 ,-6*x+10*y-3*z == 0,-y+51*z==0],[x y z])
0 comentarios
Ver también
Categorías
Más información sobre Equation Solving 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!