Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

How to get function handles from sybolic vector of variables for ode45?

1 visualizzazione (ultimi 30 giorni)
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)

Risposte (1)

Mischa Kim
Mischa Kim il 20 Ott 2016
Sandeep, use matlabFunction to convert the ODE from symbolic to numeric. You can then use ode45 to solve the differential equation.

Questa domanda è chiusa.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by