0008 <span class="comment">%  x: data (time*channels)</span>
0009 <span class="comment">%  dsr: downsample ratio for cross product series</span>
0010 <span class="comment">%  flags: 'norm', 'norm2': give each dsr-sized slice the same weight</span>
0011 <span class="comment">%  init: provide initial clustering</span>
0012 <span class="comment">%</span>
0013 <span class="comment">% See nt_bias_cluster, nt_cluster1D</span>
0014 
0015 
0016 <span class="keyword">if</span> nargin&lt;2; error(<span class="string"