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!