coupled ODEs with two variables solver

5 Ansichten (letzte 30 Tage)
Lukasz Dziechciarczyk
Lukasz Dziechciarczyk am 26 Jul. 2017
Bearbeitet: Torsten am 26 Jul. 2017
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

Antworten (1)

Torsten
Torsten am 26 Jul. 2017
Bearbeitet: Torsten am 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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by