li><a href="#_sub1" class="code">function y=norm2(x,nchans,ind)</a></li><li><a href="#_sub2" class="code">function B=covdists(C)</a></li><li><a href="#_sub3" class="code">function checkindex(IDX,n)</a></li></ul>

<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [IDX,TODSS,SCORE,COVS]=nt_cluster_jd(x,dsr,smooth,flags,init,verbose, depth,N)</a>
0002 <span class="co