File Exchange

image thumbnail

Double spherical pendulum

version 1.1 (5.64 KB) by

Numerical solution of double spherical pendulum Lagrange equations along with their analytical form

8 Downloads

Updated

View License

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

Comments and Ratings (2)

wenwu

wenwu (view profile)

very good, thx, give me some ideas of modifying my code.

Gerben

Gerben (view profile)

Hey Karlosgk,

How do you generate x(2), x(4), x(6) and x(8) in doublependulum3D?

Kind regards,

Gerben

Updates

1.1

Including comments and some corrections

MATLAB Release
MATLAB 7.12 (R2011a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video