spring pendulum with movable support - Lagrange Mechanics

solve and animate the equations of motion
89 Downloads
Updated 11 Jul 2018

View License

This system has 3 generalized coordinates : displacement of the spring , deflection angle of the (spring-)pendulum , and translation of the support.
Hence it's described by 3x 2nd order nonlinear ODE's and matlab has to solve 6x linearized 1st order ODE's .
Since the equations are rather complex , they're not stated here in this description. The .zip contains a .mp4 file of the animation.

Cite As

Lucas Tassilo Scharbrodt (2026). spring pendulum with movable support - Lagrange Mechanics (https://au.mathworks.com/matlabcentral/fileexchange/67998-spring-pendulum-with-movable-support-lagrange-mechanics), MATLAB Central File Exchange. Retrieved .

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