Can someone help me with ODE45 function

1 view (last 30 days)
I have the differential equation in the attached pdf. I would like to change into state variable form so I can use ODE45 to numrically integerate it, but I don't know how to do it. I hope someone can help me.

Accepted Answer

Star Strider
Star Strider on 10 Oct 2020
I read it diferently:
f = @(t,v) (489.369-0.001464*v^2)/(-1.44*t+10) - 9.81

More Answers (1)

Walter Roberson
Walter Roberson on 10 Oct 2020
f = @(t,v) (489.369-0.001464*v^2)/-1.44e+10 - 9.81
ode45(f, tspan, v0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!