The Lorenz Attractor Simulink Model
Version 1.0.1 (32,4 KB) von
Lazaros Moysis
The Lorenz System designed in Simulink. Two models included and a file to get the rottating 3d plot.
This is a design of the lorenz non-linear model, known as the Lorenz Attractor, defined by:
x'=σ*(y-x)
y'=x*(ρ-z)-y
z'=β*z+x*y
Where x=x(t), y=y(t), z=z(t) and t=[0,100].
For initial conditions:
x(0)=y(0)=z(0)=5 (defined inside the integrator blocks)
And system parameters:
σ=10,ρ=30,β=-3
In the first model, the refine factor has been changed to 4 for a smoother simulation and the states are saved in the workspace.
In the second model, the stepping options have been set to 5 so one can step forward the simulation every 5 seconds and observe the change in the 3 plots.
One can easily change the initial values and the system parameters and explore the different results.
After you run the system in Simulink, you can run the .m file to get the 3d plot being produced gradually in time.
This is included in [1].
Video about the Lorenz system
References:
[1] An introduction to Control Theory Applications Using Matlab, https://www.researchgate.net/publication/281374146_An_Introduction_to_Control_Theory_Applications_with_Matlab
[2] DIFFERENTIAL EQUATIONS,DYNAMICAL SYSTEMS, AND AN INTRODUCTION TO CHAOS, Hirsch, Smale, Devaney. Elsevier Academic Press.
Zitieren als
Lazaros Moysis (2024). The Lorenz Attractor Simulink Model (https://www.mathworks.com/matlabcentral/fileexchange/155522-the-lorenz-attractor-simulink-model), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2023b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
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 | fixed video links |
||
1.0.0 |