Tutorial using Lagrange equations to derive equations of motion for mechanical systems.
https://github.com/MatthewPeterKelly/Lagrange_Mechanics_Derivations
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 tutorial contains clearly written code that uses the Matlab symbolic toolbox to generate equations of motion for a variety of simple mechanical systems, using the Langrange equations. The simple systems are a single pendulum and a simple harmonic oscillator. A few more systems with 2-3 degrees of freedom are included, like a double pendulum, and two versions of the cart-pole system. The most complicated derivation finds equations for a n-link pendulum.
Cite As
Matthew Kelly (2026). MatthewPeterKelly/Lagrange_Mechanics_Derivations (https://github.com/MatthewPeterKelly/Lagrange_Mechanics_Derivations), GitHub. Retrieved .
General Information
- Version 1.0.0.0 (71.3 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
