coupled ODEs with two variables solver
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi everyone,
I am trying to solve equations in the form as attached. Is it possible to use Matlab to solve these equations and where should I start? I looked up the ode45 solver, but I'm not sure how to implement it for two variables.
All best, Lukasz

0 commentaires
Réponses (1)
Torsten
le 26 Juil 2017
Modifié(e) : Torsten
le 26 Juil 2017
This is a hyperbolic system of 1st order partial differential equations.
If you have the NAG toolbox, there are solvers for this kind of problem.
If not, you will have to discretize the spatial derivative terms (dI/dz) and solve the resulting system of ordinary differential equations using ODE15S, e.g.
Look up "method-of-lines" for more details.
Best wishes
Torsten.
0 commentaires
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!