Double spherical pendulum
Version 1.1.0.0 (5.64 KB) by
karlosgk
Numerical solution of double spherical pendulum Lagrange equations along with their analytical form
The mfile 'doublependulum3D_plot' produces:
-Generalized coordinates, velocities/time
(spherical angles)
-Phase subspaces
-Energies/time
-Generalized momenta/time
-Simulation: double spherical pendulum motion
The mfile 'doublependulum3D_equations' offers:
-Lagrange equations (symbolic form)
-Explicit form of generalized accelerations (symbolic form)
-Generalized momenta (symbolic form)
The function 'doublependulum3D' includes:
-System 8x8 of 1st order ODEs
Cite As
karlosgk (2026). Double spherical pendulum (https://www.mathworks.com/matlabcentral/fileexchange/37363-double-spherical-pendulum), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Numerical Integration and Differential Equations >
- Physical Modeling > Simscape Multibody > Multibody Modeling > Assembly >
- Sciences > Physics > General Physics > Classical Mechanics >
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
