Which problems are suitable for ode 45?

I dont understand that ode 45's purpose ?
why cant i find same answer with quad command ?

1 件のコメント

James Tursa
James Tursa 2022 年 2 月 8 日
Your question is too generic. Maybe you could start by describing the problem you are trying to solve, and the issues you are currently having.

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

 採用された回答

Walter Roberson
Walter Roberson 2022 年 2 月 8 日
編集済み: Walter Roberson 2022 年 2 月 9 日

1 投票

If you had a function of one variable, that involves only the direct derivative (without the function itself) and it had no mass variable, and you arranged to get the boundary conditions right, then quad() could potentially substitute for ode45(). For example dxdt = @(dt) dt .* sin(dt) could potentially be doable, but not dt.*sin(t) . Oh, and you couldn't do any event conditions either.
In any case involving mixed levels of derivatives, or multiple variables, or mass variables, or event conditions then quad() is not sufficient to be able to calculate the results.

その他の回答 (0 件)

カテゴリ

製品

リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by