4.2

4.2 | 5 ratings Rate this file 34 downloads (last 30 days) File Size: 1.89 KB File ID: #23037

Lagrange's equations

by Ivanovich

 

19 Feb 2009

No BSD License  

Lagrange is a function that calculate equations of motion (Lagrange's equations)

Download Now | Watch this File

File Information
Description

Lagrange is a function that calculate equations of motion (Lagrange's equations)
 d/dt(dL/d(dq))- dL/dq=0.
 It Uses the Lagrangian that is a function that summarizes the
dynamics of the system. Symbolic Math Toolbox is required.

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
26 Feb 2009 Ivanovich  
26 Feb 2009 John D'Errico

Don't rate your own code. Obviously you think your own stuff is good.

07 Jun 2009 Hrishi Shah

Nice code. easy to understand. would be great if you could extend it to include the torque and moment terms too.

06 Aug 2009 Daniel

very nice work with symbolic toolbox!

12 Dec 2009 Gray Thomas

This code worked exactly the way I expected it to. It is totally deserving of the original rating, in my opinion.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
modeling Ivanovich 19 Feb 2009 16:11:16
physics Ivanovich 19 Feb 2009 16:11:16
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com