How to solve system of equation in Matlab ?
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Nguyen Trong Nhan
 el 3 de En. de 2014
  
    
    
    
    
    Respondida: Matt J
      
      
 el 3 de En. de 2014
            How to solve the system of equations that the number of variable is fewer than the number of equations. for example:
x + y + 2z = 0,
2x + y -z = 0.
the result is
x = 3t,
y=-5t,
z=t.(t is parameter)
thanks you very much.
0 comentarios
Respuesta aceptada
Más respuestas (1)
  Azzi Abdelmalek
      
      
 el 3 de En. de 2014
        sol=solve('x + y + 2*z = 0','2*x + y -z = 0','x','y') 
x=sol.x
y=sol.y
0 comentarios
Ver también
Categorías
				Más información sobre Numerical Integration and Differential Equations en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


