max(abs(diff(log2(C+eps)))); <span class="comment">% choose first or last</span>
0176     <span class="keyword">elseif</span> find(strcmp(flags,<span class="string">'amp'</span>)); <span class="comment">% cluster in amplitude</span>
0177         [C,A]=<a href="nt_cluster1D.html" class="code" title="function [C,A,score]=nt_cluster1D_b(x);">nt_cluster1D</a>(sqrt(zz));
0178         [~,idx]= max(abs(diff(log2(C+eps)))); <span class="comment">% choose first or last</span>
0179     <span class="keyword">else</spa