While solving boundary value problems (using bvp4c) the graph is plotted as the command ""plot (x,BS(1,:))"" but if I want the graph between x and y and not x and boundary solution (BS) what should I do ?

6 views (last 30 days)
Aryaman Patel
Aryaman Patel on 13 Jul 2019
Answered: infinity on 14 Jul 2019
This is the matlab script :
init = bvpinit(linspace(-1,1,20),[0 0]);
x = linspace(-1,1,20);
I do not understand the purpose of deval, also the graph i want to plot is between x and y not x and boundary solutions (bs).
How can i do that ?

More Answers (0)


Community Treasure Hunt

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

Start Hunting!