File Exchange Pick of the Week

Our best user submissions

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the Original version of the page.

Animating Double Pendulum 5

Posted by Jiro Doke,

Jiro's pick this week is Animated Double Pendulum by Alexander Erlich.

This is a fun pick. Animations have a special place in my engineer's heart. If pictures paint a thousand words, animations paint (1000 x NumberOfFrames) words. With his submission, Alexander illustrates the interesting dynamics of a double pendulum. The cool thing is that you can specify different parameters (gravity, masses, and link lengths) and initial conditions (angles and angular velocities) to see their effects.

As of today, he actually has 2 other entries (Spinning Top, Vibrating String) that use animation to convey concepts.


Get the MATLAB code

Published with MATLAB® 7.10


Comments are closed.

5 CommentsOldest to Newest

jiro replied on : 5 of 5
A few people have asked how I made the animated GIF. I used the IMWRITE function to export to a GIF. GIF format has options to append frames and specify delay time. This page talks about it as well: