Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week
For animation, the program uses Matlab's normal plot command combined with the drawnow command. It is based on the ode45 solution of the corresponding differential equations.
Comprehensive documentation is provided, including a sketch of the most important steps of how to derive the equations of motion. A simple Mathematica notebook contains all of the manipulations.
Start the program via >> double_pendulum_init
You can adapt parameters such as rod lengths, masses and initial angular positions and velocities in the double_pendulum_init.m file.
It might be interesting to implement some features in future versions, such as angular time dependence plots, phase space portraits or Poincaré sections.
Have fun observing the rich dynamic behaviour of this simple, but mostly chaotic system :-)
Citation pour cette source
Alexander Erlich (2026). Animated Double Pendulum (https://fr.mathworks.com/matlabcentral/fileexchange/27212-animated-double-pendulum), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : SimplePendulum
Catégories
En savoir plus sur Numerical Integration and Differential Equations dans Help Center et MATLAB Answers
Informations générales
- Version 1.1.0.0 (114 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.1.0.0 | Movies can now be written into .avi format. Frame rate is now changeable and can be adapted both for real time animation and movie rendering. |
||
| 1.0.0.0 |
