initial condition ODE45?
古いコメントを表示
Can anyone tell me how to implement these initial condition in ODE45?
i have this differentiel equation to resolve:

thanks
回答 (1 件)
John D'Errico
2021 年 1 月 26 日
0 投票
You cannot. That is to say, not directly. I suppose you could formulate it as a shooting method, in which case it becomes a nonlinear problem for fsolve.
But ODE45 is an initial value solver. You have conditions at THREE distinct locations. That makes this more of a boundary value problem.
I see some additional issues. What is S? Is S a known function?
Depending on what is S, I might suggest using some other general scheme to solve ODE problems, perhaps collocation.
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
