function [Ftest] = arch_test (Ctest) Dtest = zeroMn(Ctest')'; % For proper testing, subtract the mean of the % training images not the test images: % Dtest = Ctest-ones(500,1)*mean(C); Rtest = Dtest*V; %Ftest = Rtest(:,1:200) * inv(w*wz); Ftest = Rtest(:,1:3) * inv(w*wz);