coupled ODEs with two variables solver
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

Answers (1)
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.
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!