Clear Filters
Clear Filters

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

3 views (last 30 days)
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.

Answers (1)

George Abrahams
George Abrahams on 31 Dec 2022
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:

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!