diff --git a/src/MATLAB/+Cluster/SpectralCluster.m b/src/MATLAB/+Cluster/SpectralCluster.m index cbb9e2745868d6d89f388548b766f2d3ce842c0d..e964cd4e29ce9fb09cbedc2402c2d13008f7ee96 100644 --- a/src/MATLAB/+Cluster/SpectralCluster.m +++ b/src/MATLAB/+Cluster/SpectralCluster.m @@ -68,8 +68,8 @@ L=Cluster.Regularize(L); % remove the miniscule asymmetry from L [eVec eVal]=eig(L); % ACK CONTROVERSY! WHY STUPID \lambda=1 vector? -X=[eVec(:,end) eVec(:,1:k-1)]; -% X=[eVec(:,1:k)]; +% X=[eVec(:,end) eVec(:,1:k-1)]; +X=[eVec(:,1:k)]; if 1 == k Y = X ./ max(X); else