Euler-Lagrange Solver

A function that solves the Euler-Lagrange Equations using the Symbolic Math Toolbox.

Download
Download

You are now following this Submission

Cite As

Morten Veng (2026). Euler-Lagrange Solver (https://www.mathworks.com/matlabcentral/fileexchange/93275-euler-lagrange-solver), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2017b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.2

Improved comments, reduced code size and added another use-case example: the inverted pendulum cart system.

Download
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.

Download
1.0.0

Download