Animated Double Pendulum

版本 1.1.0.0 (113.8 KB) 作者: Alexander Erlich
Show animation of the double pendulum's (mostly) chaotic behavior.
13.0K 次下载
更新时间 2010/10/4

查看许可证

编者注: 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 :-)

引用格式

Alexander Erlich (2024). Animated Double Pendulum (https://www.mathworks.com/matlabcentral/fileexchange/27212-animated-double-pendulum), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

启发作品: SimplePendulum

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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