This is the matlab script :
init = bvpinit(linspace(-1,1,20),[0 0]);sol=bvp4c(@rhs_bvp,@bc_bvp,init);x = linspace(-1,1,20);BS=deval(sol,x);plot(x,BS(1,:));
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 ?
Best Answer