A nonlinear Simple Pendulum is simulated. Phase plane plot and time vs. displacement plots are updated accordingly. Pendulum equation is nonlinear, it is solved using ode45 of MATLAB. Mass, length, damping, and duration of pendulum can be changed.
Zitieren als
KSSV (2025). SimplePendulum (https://www.mathworks.com/matlabcentral/fileexchange/33082-simplependulum), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Numerical Integration and Differential Equations >
- Physical Modeling > Simscape Multibody > Multibody Modeling > Assembly >
- Sciences > Physics > General Physics > Classical Mechanics >
Tags
Quellenangaben
Inspiriert von: Arrowhead, Animated Double Pendulum
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.
SimplePendulum/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.0 | Added stop button on the figure window |
||
1.1.0.0 | Included m file to show direction of the lines in phase plane |
||
1.0.0.0 |