Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Matlab coding http://courses.washington.edu/am301/hw/pics.mat Download a library of 40 faces (Resolution 96 times 64) from http://courses.washington.edu/am301/hw/pics.mat However DO NOT upload pics.mat to Scorelator. Use load to
Matlab coding
http://courses.washington.edu/am301/hw/pics.mat
Download a library of 40 faces (Resolution 96 times 64) from http://courses.washington.edu/am301/hw/pics.mat However DO NOT upload pics.mat to Scorelator. Use load to import the data to Matlab. The first 10 faces are: for j = 1:10 subplot (2, 5, j): pcolor (pics(:,:, j)): shading interp: colormap (gray): end a. Calculate the "average" face of the 40 faces. Save the average face as a 96 times 64 matrix in A1. dat using the "save -ascii" command. b. Subtract the average face from all 40 images. The resultant 40 images are thus the anomalous faces. Save the first anomalous face as a 96 times 64 matrix in A2.dat using the "save -ascii" commandStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started