ECS130

Scientific Computation

Spring 2012


Professor
Zhaojun Bai,
Office: 3005 Kemper Hall
Phone: 752-4874
Email: bai@cs.ucdavis.edu

Lecture/discussion time and place

Computer Labs

Office Hours

Textbook:

Course Objectives:

Topics to be covered:

  1. MATLAB introduction and tools of the trade
  2. Linear system of equations
  3. Data interpolation and extrapolation
  4. Least squares data fitting
  5. Matrix eigenvalues and singular values
  6. Differential equations

Grading breakdown:

Lecture Schedule and Content

  1. 4/2 Instruction begins
  2. 4/4, 9-10 and 1-2:
  3. 4/6, 9, 11, 13 Linear systems (Chapter 2)
    • Triangular linear systems
      row-majored and column majored substitutions
      loop vs. vectorization
    • LU factorization with column pivoting
    • Effect of rounding errors
    • Handout
    • lutx.m, forward.m, backsubs.m, bslashtx.m,
  4. 4/16 and 4/18: Interpolation (Chapter 3)
  5. 4/20, 23, 25: Zeros and roots (Chapter 4)
  6. 4/27, 30 and 5/2: Least squares (Chepter 5)
    • Curve fitting to least sequres min||X*beta-y||
    • Normal equation, generalized inverse
    • Solving Normal equation by Cholesky decomposition
    • Householder reflection
    • QR decomposition
    • Solving least squares by QR decomposition
  7. 5/9 and 5/11, Midterm review and exam
  8. 5/4, 14, 16, 18: Eigenvalues and singular values (Chepter 10)
    • Eigenvalues and eigenvectors
    • Eigenvalue decomposition (Matlab's function eig)
    • The power method and inverse iteration
    • The QR algorithm
    • Singular values and singular vectors
    • Relationship between eigenpairs and singular triplets
    • Singular value decomposition (SVD) (Matlab's function svd)
    • Application of SVD for data/image compression
    • Homework 5 assignment, Due: 4:00pm, May 30

  9. 5/21, 23 25
    • Quadrature -- numerical integration (Chapter 6)
    • Ordinary differential equations (Chapter 7)

Homework and project assignments (Homework Box 2131 Kemper)


Maintained by Zhaojun Bai, bai@cs.ucdavis.edu