Butterfly effect in the the Lorenz system

Sensitivity to initial conditions visualized
20 Downloads
Updated 6 Jan 2025

View License

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

Cite As

Lazaros Moysis (2025). Butterfly effect in the the Lorenz system (https://uk.mathworks.com/matlabcentral/fileexchange/178554-butterfly-effect-in-the-the-lorenz-system), MATLAB Central File Exchange. Retrieved .

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

Inspired by: Butterfly effect in the Lorenz attractor

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.1

fixed video links

1.0.0