You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Lucas Tassilo Scharbrodt (2026). spring pendulum - Lagrange Mechanics (https://www.mathworks.com/matlabcentral/fileexchange/68001-spring-pendulum-lagrange-mechanics), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (144 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
