%1-D discrete dynamical system

    %Time axis
    t=linspace(0, 20, 21);

    %initial condition
    x(1)=0.4;

    %iterate the map
    for n=1:20
        x(n+1)=x(n)+2.75*x(n)*(1-x(n));
    end %end of n's for loop    

    %plot the result
    plot(t(:),x(:))
