Multi-Pendulum simulation
This tool simulates a multi-pendulum with an arbitrary number of segments, arbitrary system parameters and initial conditions. Results are shown as animation and as plots.
Equations of motion are derived from Euler-Lagrange equations. The multi pendulum is a beautiful example of how a simple physical system can produce unpredictable, chaotic behaviour. It's also a nice example of using Euler-Lagrange equations for mechanical problems.
In the gui, you can chose the number of segments, masses and lengths of the pendula. Initial conditions can be selected too.
When you start the gui, it will select a random configuration.
Click "solve" to run the simulation.
Click "animate" to show an animation of the results.
Click "plot" to generate plots of the results.
Tillmann Stübler, October 2016
tillmann.stuebler@mbtech-group.com
Zitieren als
Tillmann Stübler (2025). Multi-Pendulum simulation (https://www.mathworks.com/matlabcentral/fileexchange/59977-multi-pendulum-simulation), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Physical Modeling > Simscape Multibody > Multibody Modeling > Assembly >
- Sciences > Physics > General Physics > Classical Mechanics >
Tags
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.2.0.0 | Matlab 2015 compatibility |
||
1.1.0.0 | acceleration of gravity was not considered before. some other minor changes. |
||
1.0.0.0 |