Can someone help me with ODE45 function

1 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by