Butterfly effect in the logistic map

Sensitivity to initial conditions visualized
9 Downloads
Updated 7 Jan 2025

View License

This code can be used to showcase the butterfly effect in chaotic systems, by plotting several time series of the system under almost identical initial conditions.
We are using the Logistic map as an example, but you can change this to any map of your choice.
Video explaining the phenomenon:

Cite As

Lazaros Moysis (2025). Butterfly effect in the logistic map (https://uk.mathworks.com/matlabcentral/fileexchange/178604-butterfly-effect-in-the-logistic-map), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0