Fall 2009 Math 151 Matlab Assignment 5
Description
- Students will work together in their assigned teams. In this
manner they will:
- finish assignments more quickly and cross-check each other's work;
- give their TAs a more manageable amount to grade;
- build their networking and cooperation skills.
- BEFORE starting the lab, read Chapter 6 and section 11.4 of
your Matlab manual (Gilat 3rd Edition).
- In Chapter 6 of your MATLAB lab manual and chapters 2 and 3 of
Stewart, do the following problems.
- g184x03*, g185x04, g186x10, g189x19*, s144x09*
- For each problem, you'll work out of the MATLAB Editor. You'll
interactively save and run your MATLAB M-file, writing input and
output to a diary file. If you have graphics, save your figure files
and export them as Encapsulated PostScript. For example, the
files for the first problem are:
- g184x03.m: M-file with MATLAB input commands and comments
- g184x03.txt: diary file with input and output interspersed
- g184x03.eps: Encapsulated postscript printer file for use
with xprint in the calclabs
- g184x03.fig: Figure file for printing directly from Windows
Matlab
- You'll print out the .txt and .eps files using
xprint from the Calclab or .fig files (directly from
Matlab on a Windows computer). Do any hand work on ruled notebook
paper or engineering green graph paper.
- Regarding the figures themselves, interactively edit them. Put on
labels; insert text or arrows; change line thicknesses; etc.
- This assignment is due the week of 12-16 Oct, at the START of your
computer lab. Be sure to manage your time according to your
schedule. Do NOT put things off! It is highly advisable that you use the
50 minutes in lab to complete as much of the assignment as possible while
your TA is available to help.
- When you finish, you will turn in the documentation of your
Matlab work to your TA. Make sure the following information is on a cover
sheet.
- Fall 2009 Math 151 Matlab Assignment 5
- Section xxx, Group Members' Names, Student UINs
- In addition, each group member should initial the problem(s) he or
she worked on, to encourage ALL group members to participate in the lab.
- Various MATLAB videos that you have viewed in advance
show how to use xprint to print your diary .txt and
graphics .eps files from CalcLab. Alternatively, transfer your
files to the Open Access Lab using a flash drive, email, or FileZilla and
print directly from Matlab.
Notes
- For g184x03: Use an anonymous function (Gilat p166) to define
y.
- For g189x19: Given the range of ω it is probably best to
use logspace(-2,6) rather than linspace or colon
notation.
- For s144x09: Use the diff
command to find the slope of the tangent line. In your plot, indicate the
point of tangency with a closed circle.
- There are samples
of the types of problems you have to do in Chapter 6 of your lab manual.
Watch the MATLAB 5 streaming video if you have not already done so.
Please send comments, questions, or suggestions
to David Manuel at
"dmanuel@calclab.math.tamu.edu".
Last updated Fri, 26/Jun/2009, 16:30