Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB CODING QUESTION: NO DATA FILE NEEDED , just need general code for mat file with x being R 3584 x 225 and then use

MATLAB CODING QUESTION:

NO DATA FILE NEEDED , just need general code for mat file with x being R 3584 x 225 and then use the reshape command to turn it into face image of size 64 x 56 using command I = reshape(X(:,1),64,56);

please show complete matlab code; other answer on chegg does not have all code necessary

image text in transcribed

TEXT FROM PHOTO:

PCA of Face Dataset: For the image dataset provided to you, perform its PCA and display the following results: Image of the sample mean face Plot of singular values of the covariance matrix Images of the first three principal eigenvectors of the covariance matrix. Images of any three (arbitrary) faces, their reconstructions using d = 20 components, and the absolute difference of the error. The dataset is provided to you as a mat file with variable X R 3584225. Each column denotes a face image of size 64 56. You use the reshape command in matlab to convert a large vector into an image I = reshape(X(:, 1), 64, 56);.

PCA of Face Dataset: For the image dataset provided to you, perform its PCA and display the following results: - Image of the sample mean face - Plot of singular values of the covariance matrix - Images of the first three principal eigenvectors of the covariance matrix. - Images of any three (arbitrary) faces, their reconstructions using d=20 components, and the absolute difference of the error. The dataset is provided to you as a mat file with variable XR3584225. Each column denotes a face image of size 6456. You use the reshape command in matlab to convert a large vector into an image I=reshape(X(:,1),64,56)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions