I solve this problem choosing a good value of a0 and b0.
I write in the Command window the following commands:
[x,u]= nlshoot1(10,0,1.01,0.001);
y=exp(x)+sin(x); %to compare the solution
plot(x,u,'r*',x,y,'k-')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!