function henon(iter) dims=2; x=0.5; y=0.5; X=zeros(1,iter); Y=X; X(1)=0; Y(1)=0; for i=2:iter X(i)= Y(i-1)+1-1.4*(X(i-1))^2; Y(i) = .3*X(i-1); if iter>100 plot(X,Y,'ob','MarkerSize',1); end end