Double Pendulum using Multibody Dynamics Logic

The double pendulum in this code is modelled using formulations from Multibody Dynamics
23 Downloads
Updated 23 Mar 2024

View License

Both Pendulums are considered as rigid bodies, with reference coordinate systems attached to the centre of masses of each link.
The problem is constructed using what is known as the Augmented Formulation (see Computational Dynamics by Ahmed Shabana). This formulation yields DAEs which can be solved using ode23t.

Cite As

KenoticPurge (2026). Double Pendulum using Multibody Dynamics Logic (https://uk.mathworks.com/matlabcentral/fileexchange/161551-double-pendulum-using-multibody-dynamics-logic), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0