Can someone help me with ODE45 function

1 Ansicht (letzte 30 Tage)
Ali Almakhmari
Ali Almakhmari am 10 Okt. 2020
Kommentiert: Ali Almakhmari am 10 Okt. 2020
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.

Akzeptierte Antwort

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

Weitere Antworten (1)

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

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by