门禁系统与旧论文,还不错的。Run the function pca to create a variable pcaProj.
Input variable pcaProj to the function createDistMat, thus creating a distance
matrix that you then use as an input to the function feret. See headers of
all
three
functions
for
more
details.
The
sequence
should
look
something
like
this:
>> load trainList.mat
>> pca ('C:/FERET_Normalised/', trainList, 200);
>> pcaDistMatCos = createDistMat(pcaProj, 'COS');
>> pcaResultsCOS