Can someone help me with ODE45 function

1 回表示 (過去 30 日間)
Ali Almakhmari
Ali Almakhmari 2020 年 10 月 10 日
コメント済み: Ali Almakhmari 2020 年 10 月 10 日
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 日
Ah, that looks plausible.

サインインしてコメントする。

その他の回答 (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)
  1 件のコメント
Ali Almakhmari
Ali Almakhmari 2020 年 10 月 10 日
Thanks too. That really helped.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by