How to solve system of equation in Matlab ?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
その他の回答 (1 件)
Azzi Abdelmalek
2014 年 1 月 3 日
sol=solve('x + y + 2*z = 0','2*x + y -z = 0','x','y')
x=sol.x
y=sol.y
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!