Numerical solution to an ODE as input to solve another ODE?
Afficher commentaires plus anciens
I have the following ordinary differential equation (ODE):

where, y is given by the solution to

(f and g denote functions)
If the second ODE has an analytic solution, solving the first ODE numerically, for example using ODE45, is straight forward as
can be substituted.
can be substituted.However, if an analytic solution for y is not available, how can I use the numerical solution to the second ODE as input to the first ODE? Or is there any other way to solve the problem?
Réponse acceptée
Plus de réponses (0)
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!

