How to solve a system of linear equations ?
Mostrar comentarios más antiguos
Hi,how can i solve this system in Mupad and get only the positive real solutions.
x + y + z = 50
5x + y + 0.1z = 50
Thank You :)
Respuesta aceptada
Más respuestas (1)
Azzi Abdelmalek
el 5 de Mzo. de 2013
sol=[1 1 1;5 1 0.1]\[50;50]
2 comentarios
Sudo
el 6 de Mzo. de 2013
Youssef Khmou
el 6 de Mzo. de 2013
hi :
a=[1 1 1;5 1 0.1]
b=[50 50]';
sol=pinv(a)*b; %Pseudo inverse
Categorías
Más información sobre Numeric Solvers en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!