Solutions and Help:
First Matlab Homework:
A small m-file for use with one of the linkage models. The m-file is very simple, from the Matlab command line enter the name of the m-file and the input parameters. The file name is angle_theta3.m.
You should save thee file into the C:\Matlab\work directory (to start, matlab encourages sloppy file organization). After the file is saved, open matlab (from programs directory or on desktop) and then type the name with the input parameters (1, 1, 2, 1). The output will be, -90+32i. Now open the file (file, open, select the file name) and edit the file to see if this is something we did in class. Tell me what it is, and draw a sketch of what is being done in the program.
Second Matlab Homework:
This is a working version of the 4-bar linkage program. You should be able to run this program and get the answers from the homework assignment. The program fourbar_theta_varying.m calls the program fourbar.m