_s)</a>
0010 
0011     epsilon     = 1e-5;
0012     
0013     <span class="comment">% difference spectrum</span>
0014     X           = [X(:,1), sqrt(X)];
0015     X(X&lt;=0)     = epsilon;
0016     
0017     <span class="comment">% flux</span>
0018     d_hai       = sum(log2(X(:,2:end)./X(:,1:end-1)))/size(X,1);
0019 <span class="keyword">end</span></pre></div>
<hr><address>Generated on Fri 22-Apr-2022 20:59:51 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation 