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

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

Accepted Answer

darova on 13 Jul 2019
This is an example from mathworks
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)


Find more on Numerical Integration and 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!