function[]=cv1(A,x0,iterace); x=[0:0.01:1]; hold on plot(x,A*(1-x).*x,'g'); plot(x,x,'r'); xpredtim=x0; for i=1:iterace, xted=A*(1-xpredtim)*xpredtim; plot([xpredtim,xpredtim],[xpredtim,xted]); plot([xpredtim,xted],[xted,xted]); xpredtim=xted; pause; end