File Exchange

image thumbnail

spring pendulum - Lagrange Mechanics

version (144 KB) by Lucas Tassilo Scharbrodt
solve the equations of motions for a spring pendulum and create animation from it


Updated 11 Jul 2018

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor

spring pendulum/