Can anyone give me matlab code for trajectory of logistic map (x_n vs N)?

3 次查看(过去 30 天)
Can anyone help me in getting the matlab code for trajectory of logistic map, that is graph code for plot of x_n vs N (iterations) for different values of r.

回答(1 个)

George Abrahams
George Abrahams 2022-12-31
Hi Manish, I can see that you already searched and found an answer with code. I kindly suggest that you try first and ask questions about your difficulties after. You'll only need to understand the MATLAB basics. The equation for a logistic map (courtesy of Wikipedia) is:
And for what it's worth, Wikipedia also already has animated GIFs showing what happens as you vary N and r:

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by