span>
0023 <span class="keyword">for</span> i = 1:length(indx)-1;
0024     <span class="keyword">if</span> indx(i)+1 == indx(i+1)
0025         list = [list i];
0026     <span class="keyword">else</span>
0027         list = [list i];
0028         out(m) = length(list);
0029         list = [];
0030         m = m+1;
0031     <span class="keyword">end</span>
0032 <span class="keyword">end</span>
0033 
0034 
0035 
0036 
0037         
0038</pre></div>
<hr><address>Generated on Fri 12-Aug-2011 11: