Be the first to rate this file! 22 downloads (last 30 days) File Size: 2.4 KB File ID: #24237

Watt Linkage Animation

by Dmitry Savransky

 

22 May 2009

Code covered by the BSD License  

Solve the equations of motion for, and animate an arbitrary 3 bar Watt Linkage.

Download Now | Watch this File

File Information
Description

[t,z,r_PO] = wattLinkage(n,npathpoints,lengths,omega) integrates the equations of motion for a 3 bar Watt linkage and animates the motion of the system over n cycles (one cycle is defined as a full sweep top to bottom).

npathpoints determines the number of trajectory points to plot (Inf by default, for all).
lengths is an optional 3 element array of linkage lengths ([3,1,3] by default).

omega is the angular rate in radians per second (0.5 by default).

The returned values are the integrator outputs (t and z) and the position of the center of the intermediate bar.

% Example
% % animate system over 10 cycles
% wattLinkage(10);
% %animate asymmetric linkage
% [t,z,r_PO] = wattLinkage(5,[],[5 1 2]);

MATLAB release MATLAB 7.7 (R2008b)
Zip File Content  
Other Files license.txt,
wattLinkage.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
demo Dmitry Savransky 26 May 2009 11:35:52
simulation Dmitry Savransky 26 May 2009 11:35:52
modeling Dmitry Savransky 26 May 2009 11:35:52
teaching Dmitry Savransky 26 May 2009 11:35:52
 

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