Euler-Lagrange Solver
Version 1.0.2 (4.13 KB) by
Morten Veng
A function that solves the Euler-Lagrange Equations using the Symbolic Math Toolbox.
A function that solves the Euler-Lagrange Equations using the Symbolic Math Toolbox. It comes with three examples: 1) a generic point-mass model, 2) a 6-DOF quadrotor model and 3) an inverted pendulum-cart model.
Cite As
Morten Veng (2024). Euler-Lagrange Solver (https://www.mathworks.com/matlabcentral/fileexchange/93275-euler-lagrange-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with R2017b and later releases
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.2 | Improved comments, reduced code size and added another use-case example: the inverted pendulum cart system. |
||
1.0.1 | Fixed a bug where the time derivative of the multi-variate expression is wrongly calculated. The updated version uses 'Jacobian' instead of 'diff' to account for cross-dependencies between states. |
||
1.0.0 |