Can someone help me with ODE45 function

1 vue (au cours des 30 derniers jours)
Ali Almakhmari
Ali Almakhmari le 10 Oct 2020
Commenté : Ali Almakhmari le 10 Oct 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.

Réponse acceptée

Star Strider
Star Strider le 10 Oct 2020
I read it diferently:
f = @(t,v) (489.369-0.001464*v^2)/(-1.44*t+10) - 9.81
  1 commentaire
Walter Roberson
Walter Roberson le 10 Oct 2020
Ah, that looks plausible.

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 10 Oct 2020
f = @(t,v) (489.369-0.001464*v^2)/-1.44e+10 - 9.81
ode45(f, tspan, v0)
  1 commentaire
Ali Almakhmari
Ali Almakhmari le 10 Oct 2020
Thanks too. That really helped.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by