Solving Matrix differential equations
72 ビュー (過去 30 日間)
古いコメントを表示
I'm looking to solve a system of the type dxdt=A*x where dxdt and x are 1xn vectors and A is an nxn matrix. I know I can use something like ode45 to solve each row individually, but figured matlab must have a way of solving such systems. Thanks in advance!
0 件のコメント
採用された回答
Fangjun Jiang
2011 年 11 月 17 日
dxdt and x should be n by 1 vectors.
Yes. ode45 or other ode solver can solve the system at once. run odeexamples.m to see various example.
You might consider use ss() if A is time-invariant matrix.
1 件のコメント
Nikolaos
2012 年 8 月 31 日
where can we find odeexamples.m ? was that helpfull? I am having the same problem..
thank you in advance
その他の回答 (1 件)
Abe
2015 年 12 月 23 日
編集済み: Abe
2015 年 12 月 23 日
Go down to "Solve Differential Equations in Matrix Form" http://www.mathworks.com/help/symbolic/solve-a-system-of-differential-equations.html?refresh=true
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!