s="keyword">if</span> all(size(old_IDX)==size(IDX{1})) &amp;&amp; all(old_IDX==IDX{1}); <span class="keyword">break</span>; <span class="keyword">end</span>
0221     old_IDX=IDX{1};
0222 <span class="keyword">end</span> 
0223 IDX{2}=setdiff((1:size(x,1))', IDX{1});
0224 
0225 
0226 <span class="comment">% final DSS</span>
0227 c0=<a href="nt_cov.html" class="code" title="function [c,tw]=nt_cov(x,shifts,w);">nt_cov</a>(x)/size(x,1);
0228 c1=<a href="nt_cov.html" class="code" title="function [c,tw]=nt_cov(x,s