View the step-by-step solution to:


This question was created from Homework5.pdf


Problem 3 (10 points): PCA
Download the "teapots. mat" data set containing 100 images of teapots of size
38 x 50. To view an image, say the second one in the data set type:
colormap gray;
Compute the data mean and top 3 eigenvectors of the data covariance matrix
and show them as images. Reconstruct the data using PCA with least squares
error using only the mean and a linear combination of the top 3 eigenvectors.
Show 10 different images before and after reconstruction. Discuss results.

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes