How can I solve a system of ODEs with boundary conditions
23 views (last 30 days)
Show older comments
Hi, I am trying to solve a system of boundary value problem. I have problems in writing the code and running the program.
Briefly, I have 3 equations to solve:
Where k(C) is a known function depends on C.
with the following BCs:
I converted them to first order system in order to put it in matlab.
Where, I let
so the resulting system is:
with BCs:
Thank you in advance!
0 Comments
Accepted Answer
Stephan
on 14 Jul 2019
6 Comments
Elia Paini
on 28 Apr 2021
Edited: Elia Paini
on 28 Apr 2021
@Simone Paganelli Why did you put in solinit, as second vector, [0,0,0,1,1,1]?
I'm solving a similar system in spherical coordinates, but I don't know how the second vector must be inserted.
Thank you!
More Answers (0)
See Also
Categories
Find more on PDE Solvers 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!