coupled ODEs with two variables solver
5 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Torsten
on 26 Jul 2017
Edited: Torsten
on 26 Jul 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 Comments
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!