Butterfly effect in the Lorenz attractor
Version 1.0.1 (2,18 KB) von
Lazaros Moysis
Divergence of nearby trajectories in the Lorenz attractor
This code can be used to plot the starting point and the final point of a trajectory.
To showcase the divergence of nearby trajectories, we generate a collection of random initial conditions x(0), all very close to each other, simulate the system for some short time, like 50sec, and then plot the final point of the trajectory x(t_final).
The result, is that although the x(0) values are clustered together on a very small range, the x(t_final) are very far away from each other, covering the whole attractor. This phenomenon shows that nearby starting trajectories diverge over a very short time from each other.
Of course, you can replace the Lorenz system with any system of your choice.
Video explaining the phenomenon:
This was inspired from a graph found in Strogatz's book below.
Zitieren als
Lazaros Moysis (2025). Butterfly effect in the Lorenz attractor (https://www.mathworks.com/matlabcentral/fileexchange/157831-butterfly-effect-in-the-lorenz-attractor), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2023b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert: Butterfly effect in the the Lorenz system
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | added video link |
||
1.0.0 |