How can these equations be converted into the format to be input in bvp4c ODE solver ?

1 view (last 30 days)
Ho do I convert these boundary conditions to equations acceptable in MATLAB?

Accepted Answer

darova
darova on 13 Jul 2019
This is an example from mathworks
Capture.PNG
It is yours
% u(-1) == ya(1)
% du(-1) == ya(2)
% u(1) == yb(1)
% du(1) == yb(2)
u(-1)-a*du(-1)-1 = 0
u(1)+a*du(1)+1 = 0

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!