File Exchange

image thumbnail

spring pendulum - Lagrange Mechanics

version (144 KB) by

solve the equations of motions for a spring pendulum and create animation from it



View License

This examples shows how to use matlab to numerically solve the equations of motion derived from lagrange's equation for a given initial condition.
An ordinary spring pendulum with a fixed support point has 2x DOF: displacement of the spring and deflection angle of the pendulum

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

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

» Watch video

spring pendulum/