initial condition ODE45?
Afficher commentaires plus anciens
Can anyone tell me how to implement these initial condition in ODE45?
i have this differentiel equation to resolve:

thanks
Réponses (1)
John D'Errico
le 26 Jan 2021
0 votes
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.
Catégories
En savoir plus sur Ordinary Differential Equations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
