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.
Citation pour cette source
KSSV (2024). SimplePendulum (https://www.mathworks.com/matlabcentral/fileexchange/33082-simplependulum), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Numerical Integration and Differential Equations >
- Physical Modeling > Simscape Multibody > Multibody Modeling > Assembly >
- Sciences > Physics > General Physics > Classical Mechanics >
Tags
Remerciements
Inspiré par : Arrowhead, Animated Double Pendulum
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
SimplePendulum/
Version | Publié le | Notes de version | |
---|---|---|---|
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 |