How to solve a system of linear equations ?
이전 댓글 표시
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 :)
채택된 답변
추가 답변 (1개)
Azzi Abdelmalek
2013년 3월 5일
sol=[1 1 1;5 1 0.1]\[50;50]
댓글 수: 2
Sudo
2013년 3월 6일
Youssef Khmou
2013년 3월 6일
hi :
a=[1 1 1;5 1 0.1]
b=[50 50]';
sol=pinv(a)*b; %Pseudo inverse
카테고리
도움말 센터 및 File Exchange에서 Numeric Solvers에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!