Homework Assignments

This page provides links to Homework assignments. Some assignments may also have hints or partial solutions.




Problem Set 9, Practice for the Final Exam

This problem set is to help you prepare for the final exam.

Textbook problems: 12.3, 12.8, 12.12a, 12.12b, 12.13a, 12.13b

Note, in some printings of the book the initial condition for problem 12.8 appears as y(0) = 1.x. It should be y(0) = 1.

Note that for problem 12.12b, the term 1/(x + alpha) on the right hand side should be of the differential equation should be 1/(t + alpha).

Download the solution to problem set 9.

Problem Set 8, Due 4 December 2008

This problem set is for bonus points only. In other words, points earned for completing these problems will increase your total score on the homework, without increasing the maximum possible points that can be earned on the homework.

Quick Questions: 9.5 (10 points), 9.7 (15 points)

Comprehensive Question: 9.13 (15 points).

In the solution to 9.13 you can use linefit from the NMM toolbox or the built-in polyfit function. If you use polyfit, the easiest way to compute R2 is with Equation (9.18).

Download the solution to problem set 8.

Problem Set 7, Due 5:00 PM, 26 November 2008

Only physical copies of homework delivered by the due date will be accepted.

Quick Questions: 8.19 (5 points), 8.24 (15 points)

Comprehensive Question: 8.22 (20 points)

Download the solution to problem set 7.

Problem Set 6, Due 18 November 2008

Download the the assignment sheet.

Here is the HTML version of the assignment

  1. (10 points) Textbook problem 7.5
  2. (10 points) Textbook problem 7.14. Note that in some printings of the book there is an error in Algorithm 7.1: the statement "initialize b = zeros(n,1)" should be "initialize b = zeros(m,1)".
  3. (10 points -- extra credit) Textbook problem 7.30. Hint: the rank function is helpful. Explain why.

Download the solution to problem set 6.

Problem Set 5, Due by noon on 3 November 2008

Problem set 5 is for extra credit. It is due at noon on Monday, 3 November 2008.

Download the the assignment and the solution.

Problem Set 4, Due 28 October 2008

Download the the assignment, the beamPcr.m function from the solution to Problem Set 2, and the prologue for the pipeLoadDelta.m function.

Download the solution for Problem Set 4.

Download the completed pipeLoadDelta.m function.

Problem Set 3, Due 21 October 2008

You can also download the the assignment and the incomplete version of demoPrint.m.

Download the solution for Problem Set 3.

Problem Set 2, Due 14 October 2008

You can also download the the assignment.

Refer to the postal rates listed here: http://www.usps.com/prices/first-class-mail-prices.htm

Download the the solution for Problem Set 2 and the beamPcr function.

Problem Set 1, Due 7 October 2008

The assignment was passed out on the first day of class, and can be downloaded here. You can also download the draw_circle.m and fill_circle.m mfiles

Download the the solution for Problem Set 1

Download the Grading Sheet for Problem Set 1

Sample Problem Set and Solution

You can download a partially completed solution (MS Word Format or PDF) from Problem Set 1 in Fall 2007.

Hints on Importing Figures into MS Word

There are several ways of getting graphical images into a MS Word document. Because I've been burned in the past when MS Word has collapsed and corrupted documents, I always create images as separate files, and then import those images into Word with the "Insert Picture" command.

Use the print command to create a image file from a MATLAB plot. For example

>> x = linspace(0,2*pi);
>> y = sin(x);
>> plot(x,y);
>> print -dpng sinePlot.png

the print command has several forms. In the preceding code snippet, the print command creates a PNG file from the front-most figure window.

In Word, use the "Insert Picture" command. For Word 2007 (in Windows), click the "Insert" button on the ribbon, then select "Picture". For earlier versions of MS Word on Windows, or all versions on a Macintosh, select "Picture..." or "Picture from File..." from the "Insert" menu. Word