1 function Y = discretisationEigenVectorData(EigenVector)
\r
2 % Y = discretisationEigenVectorData(EigenVector)
\r
4 % discretizes previously rotated eigenvectors in discretisation
\r
5 % Timothee Cour, Stella Yu, Jianbo Shi, 2004
\r
7 [n,k]=size(EigenVector);
\r
10 [Maximum,J]=max(EigenVector');
\r
12 Y=sparse(1:n,J',1,n,k);
\r