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!
