3 equations and 3 unknowns
1 回表示 (過去 30 日間)
古いコメントを表示
I have 3 equations and 3 unknowns. Is there a way to solve for them?
4*x + 5*y + 6*z = 7
3*x + 2*y + 4*z = 5
2*x + 7*y + 5*z = 9
0 件のコメント
回答 (1 件)
Matt J
2013 年 9 月 17 日
編集済み: Matt J
2013 年 9 月 17 日
[4 5 6; 3 2 4; 2 7 5] \ [7;5;9]
2 件のコメント
Walter Roberson
2013 年 12 月 11 日
- subs() 0 for x, y, and z all, to find the constants.
- subs() 1 for x, 0 for y and z, and subtract the constants from #1, to find the coefficients for x.
- likewise (0,1,0) and (0,0,1) to find y and z coefficients.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!