MATLAB: Solving A System of Equations Using ODE45

ode45

So I was having trouble solving differential equations in ODE45. The system is as follows:
I was not sure how to proceed since the first equation contains an integral of the V_dot(t). Any help would be greatly appreciated.

Best Answer

You have two coupled ODEs for V_p and x. If you want to apply numerical methods (ODE15S, e.g.) for the solution, I don't see a problem.
Maybe starting at t=0 is not a good idea since powers of t appear in the denominator when you solve the first equation for xdot.
Best wishes
Torsten.
Related Question