ABSTRACT

MATLAB is one of the most widely used pieces of engineering software in the world. The main reason for its wide adoption is that it makes many of the most common tasks in engineering very easy. The power of MATLAB, however, lies in its ability to run scripts. A script is a series of MATLAB commands that the programmer store in a file called an m-file. MATLAB specifies colors as a three-element vector giving the red, green, and blue components, respectively. The values of R, G, and B must lie between zero and one with one giving full saturation of a given color. Sometimes the best way to visualize the motion of a mechanism is to animate it. MATLAB has a full suite of features for making movie files, but programmer will concentrate here on animating a plot within a normal plot window.