Numerical Linear Algebra
Math 526 -- Sections 1 and 2, Fall 2005

Professor Doug Meade
meade@math.sc.edu
Department of Mathematics
University of South Carolina



Lab Assignments

Lab #
Date Assigned
Date Due
Title
Files
Comments
0 23 Aug 24 Aug The MATHSTAT Network and MATLAB [Word]
[PDF]
Using MATLAB on the MATHSTAT network at USC.
1 30 Aug 31 Aug Entering Matrices and Vectors in MATLAB Part I Part II will be distributed in the lab. All you need to turn in is the diary.
The deadline for turning in the lab for credit is the beginning of class on August 31 (10:10am).
2 6 Sep 7 Sep Solving Triangular Systems Part I Keep the M-files for forward and backward. You will need them for some of the upcoming labs.
3 13 Sep 14 Sep The LU Factorization Part I The LU factorization should be almost second-nature to you by now. As you work this lab, think about the work that is involved in each step and what problems could possibly arise during these computations.
4 20 Sep 21 Sep Using the PA=LU Factorization to Solve Ax=b Part I  
5 27 Sep 28 Sep Solving Tridiagonal Systems Part I  
6 4 Oct 5 Oct Two-Dimensional Plotting Part I  
7 11 Oct 12 Oct The Sherman-Morrison Algorithm Part I This lab requires the use of the forward and trisolve M-files created in earlier labs.
See also Chapter 8 in the course notes.
8 18 Oct 19 Oct Condition Numbers and Relative Error Part I See also Chapters 9 and 10 in the course notes.
  25 Oct       No lab this week; study for Exam 2
9 1 Nov 2 Nov The Jacobi Method Part I  
10 8 Nov 9 Nov The Gauss-Seidel Method Part I
(§ 001) (§ 002)
You will want to use the script files created in Lab 9:
jacobi1.m  and  jacobi2.m.
11 15 Nov 16 Nov Condition Numbers and Iterative Solvers Part I This lab uses two M-files created in Lab 10:
Jacobi.m  and  GS.m.
12 22 Nov 22 Nov The Power Method Part I
  • Use one of the M-files for the Jacobi or Gauss-Seidel method as the starting point for PowerMethod.m.
  • power is a built-in MATLAB command; you are likely to experience troubles if you try to call your M-mfile Power.m.
  • Because Thanksgiving Break starts on Wednesday, this lab is due by the start of class on Monday, November 28. You should be able to finish it during the lab hour!
13 29 Nov 30 Nov Eigenvalue Analysis of a Model for an Owl Population Part I  
Extra 30 Nov 9 Dec Extra Credit Lab Questions Hill Substitution Cipher

Notes:

  • MATLAB scripts (.m files) should be downloaded to your local computer (I recommend creating a folder called, say, MATLAB-files.) Then, from within MATLAB, under the File menu, select Run Script ... and Browse to the location where you save the .m file; select the script and click OK. All output will appear in your MATLAB window.
  • Portable Document Format (PDF) files are viewable with acroread, a publicly available PDF viewer by Adobe.
  • PostScript (PS) files are viewable with ghostview, the public domain PS viewer.

  • If you have any questions, please send e-mail to meade@math.sc.edu
    Last modified: 29 August 2005