A nonlinear Spring Pendulum is simulated. Phase plane plots for the spring motion and pendulum motion are updated accordingly. Pendulum equation is nonlinear, it is solved using ode45 of MATLAB. Mass, length, and duration of pendulum and initial values can be changed depending on the requirement.
Citation pour cette source
KSSV (2024). SpringPendulum (https://www.mathworks.com/matlabcentral/fileexchange/33168-springpendulum), 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, Spring() To plot and animate a 2D-Spring
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.
SpringPendulum/
Version | Publié le | Notes de version | |
---|---|---|---|
1.4.0.0 | Added stop button to close the animation, and the animation is modified to have exact spring like behavior. |
||
1.2.0.0 | Preview image added |
||
1.0.0.0 |