Carnegie Mellon University
10-603/15-826 Multimedia Databases and Data Mining
Spring 2002 - C. Faloutsos

Homework 3 (Due: 4/18/2002)

NOTES:

1) SVD [45 pts]

Consider the points (1,2), (3,1), (-1,3), (5,0), (2.1,1.5).
  • [30 pts] Give the unit vector that (a) starts from the center of gravity and (b) gives the best direction to project these points on. 'Best' means minimizing the sum of squared errors.
  • [15 pts] Plot the original points, along with your best vector
  • 2) SVD [15 pts]

    Compute the SVD for the following 2x5 matrix 'A', ie., give the U, Lambda, V matrices of the decomposition.
     
     4  1  3  4 6 10
     6  1.5  4.5 6 9 15
     Specifically: Hint: use a commercial SVD package (like 'mathematica', matlab, Splus, etc, or the freeware 'R' at  http://www.r-project.org/ )

    3) DWT and DFT [ 10 pts]

    Hint: for the Haar DWT, use the definitions in the textbook, p. 115, eq (C.1-C.3); you are welcome to use/adapt open-source code. Similarly, for the DFT,  use the definition on p. 103, eq. (B.1).

    4) DFT [15 pts]

    5) DWT [15 pts]



    last updated 4/8/2002 christos@cs.cmu.edu