;
0036     [~,idx]=min(score);
0037     A=A(:,idx);
0038     <span class="comment">% upsample the cluster ownership index</span>
0039     A=repmat(A',[dsr,1]);
0040     A=A(:);
0041     A(end:size(x,1))=A(end);
0042     IDX{1}=find(A==1); 
0043     IDX{2}=find(A==2);
0044 <span class="keyword">else</span>
0045     IDX{1}=setdiff(1:size(x,1),init);
0046     IDX{2}=init;
0047 <span class="keyword">end</span>
0048 
0049 <span class="comment">% initial DSS to contrast clusters</span>
0050 c0=<a href="nt_cov.htm