Below is my code:
When I proceed this, I can get 2 lines, one of which I cannot understand.
1st one is an expected, diverging line to negative infinity, but the other I get is y=x+1 line...
Where is it from?? I cannot figure it out :(
Moreover if I add plot of z11 as well using plot(z11, '-k.') and hold on,
z11 plot also follows the y=x+1 line, while it never does alone!!!! OMG WHY IS IT
a=2.95; x11=0.5; x12=-0.001; i=0;
z11=[i x11]; z12=[i x12];
x11=y11; x12=y12; i=i+1;
z11=[z11; [i y11]]; z12=[z12; [i y12]];
axis([0 50 -1 1])
function f=f(a,x); f=a*x*(1-x); end