How can I solve a system of ODEs with boundary conditions

27 次查看(过去 30 天)
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!

采纳的回答

Stephan
Stephan 2019-7-14
  6 个评论
Elia Paini
Elia Paini 2021-4-28
编辑:Elia Paini 2021-4-28
@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!

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by