Butterfly effect in the the Lorenz system
Version 1.0.1 (2.02 KB) by
Lazaros Moysis
Sensitivity to initial conditions visualized
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 LinuxTags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
