% Recall using max-min FAM...

clear;
load faces;

W = maxC_M(X,X'); 

yGFAM_M=maxC_M(W,Xin);
disp('max-min GFAM test - concluded');

figure(3); clf;
for i=1:size(yGFAM_M,2)
	subplot(4,6,i); imshow(reshape(yGFAM_M(:,i),s1,s2));
	disp(sprintf('%.4f',norm(yGFAM_M(:,i)-X(:,1))/norm(X(:,1))));
end
print -deps facesGFAM_M.eps
