Are you sure you have a problem with your code? I increased N to 16000, and plotted your data. It sure looks like a Hénon attractor to me.
![](/matlabcentral/answers/uploaded_files/99057/test.png)
Are you sure you have a problem with your code? I increased N to 16000, and plotted your data. It sure looks like a Hénon attractor to me.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!