Two or three masses connected by springs
A gui simulation and animation of two or three masses connected by springs. Four cases: (1) two masses and three springs to two walls; (2) two masses and two springs to one wall; (3) three masses and four springs to two walls, or; (4) three masses and three springs to one wall. These four cases are programmed in four separate .m and .fig files.
The gui allows changes to the masses and spring constants, and presents the normal mode oscillations and a random linear combination of normal modes.
Citation pour cette source
Jeffrey Chasnov (2024). Two or three masses connected by springs (https://www.mathworks.com/matlabcentral/fileexchange/42508-two-or-three-masses-connected-by-springs), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : 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.
Version | Publié le | Notes de version | |
---|---|---|---|
1.4.0.0 | bug fix |
||
1.3.0.0 | Added two more simulations of two masses. |
||
1.2.0.0 | Minor corrections. |
||
1.1.0.0 | Minor changes |
||
1.0.0.0 |