How to solve a system of linear equations ?
2 ビュー (過去 30 日間)
古いコメントを表示
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 :)
0 件のコメント
採用された回答
その他の回答 (1 件)
Azzi Abdelmalek
2013 年 3 月 5 日
sol=[1 1 1;5 1 0.1]\[50;50]
2 件のコメント
Youssef Khmou
2013 年 3 月 6 日
hi :
a=[1 1 1;5 1 0.1]
b=[50 50]';
sol=pinv(a)*b; %Pseudo inverse
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!