Mass Spring Oscillator Animated GUI

Animates three masses and four springs. Draws position and speed plots.
1,4K téléchargements
Mise à jour 11 juil. 2012

Afficher la licence

Description:
Three masses are attached to each other by four springs. The masses slide along a friction-less horizontal surface and model is developed to animate positions of the three masses, and four springs.
The mass of each spring is negligible and there is no damping in the system. The springs operate according to Hooke’s law: Force = k(elongation) where constants k1, k2, k3, k4 denote the Hooke’s constants. The first and last spring are attached to fixed walls.

Acknowledgments:
Gustavo Morales, gmorales@uc.edu.ve Spring() function used to animate springs

Jurica Cerovec, jcerovec@gmail.com
help with GUI coding

Marko Mihovilic, mihovilic@gmail.com programming ideas, useful
discussions

Citation pour cette source

Matija Krznar (2025). Mass Spring Oscillator Animated GUI (https://www.mathworks.com/matlabcentral/fileexchange/37449-mass-spring-oscillator-animated-gui), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Assembly dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0