www.pudn.com > GaitRecognition.rar > randomSubspace.m, change:2012-11-04,size:250b


function [randomSubspaceVector]=randomSubspace(eigenvectors) 
L=100; 
N=6; 
randomArray=randperm(size(eigenvectors,1));%产生随机排列 
subSpaceIndex=randomArray(1:N);%得出随机子空间的索引 
randomSubspaceVector=eigenvectors(subSpaceIndex,:); 
end