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 (2026). SpringPendulum (https://fr.mathworks.com/matlabcentral/fileexchange/33168-springpendulum), MATLAB Central File Exchange. Extrait(e) 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
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 |
