Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How to get function handles from sybolic vector of variables for ode45?
1 回表示 (過去 30 日間)
古いコメントを表示
I am trying to solve Xdot=f(X,U). X U are vectors. From symbolic algebra i had derived Xdot.I need to convert this into a suitable function handle for ode45. (dsolve didnt work)
0 件のコメント
回答 (1 件)
Mischa Kim
2016 年 10 月 20 日
Sandeep, use matlabFunction to convert the ODE from symbolic to numeric. You can then use ode45 to solve the differential equation.
2 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!