initial condition ODE45?
4 views (last 30 days)
Show older comments
Can anyone tell me how to implement these initial condition in ODE45?
i have this differentiel equation to resolve:
thanks
0 Comments
Answers (1)
John D'Errico
on 26 Jan 2021
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.
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!