Double pendulum

Extensive numerical simulation of the double pendulum

https://github.com/gforien/double-pendulum

You are now following this Submission

Extensive numerical simulation of the double pendulum

Functionnalities :
- Tweaking of all parameters (masses, lengths, inital angles and speeds)
- Animation: Solving non-linear equations (ODE45, Newmark+Newton-Raphson)
- Animation: 2 non-linear pendulum released with 0.1° difference of inital angle
- Graph: Phase portait and Poincaré map
- Graph: Energy of the system vs. time
- Graph: Bifurcation diagram
- Animation: Solving linear equations of the double-pendulum (ODE45, Verlet, analytical solutions)
- Animation: Comparison of linear vs. non-linear pendulums
- Graph: (SSE between linear & non-linear solutions) vs. initial angle
- and more...

I didn't have time to test any compatibility between platforms or Matlab versions.
This project was made with R2017b on Windows 10.

Cite As

Gabriel Forien (2026). Double pendulum (https://github.com/gforien/double-pendulum), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
2.1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.