     <span class="comment">%     Lsmin=floor(2*fmin/df);</span>
0116         P=zeros(Nfreqs,1);
0117         f=zeros(Nfreqs,1);
0118         Nw=zeros(Nfreqs,1);
0119         <span class="comment">% Loop through frequencies</span>
0120         <span class="keyword">for</span> n = 1:Nfreqs
0121             <span class="comment">% Determine frequency to calculate</span>
0122             ft=fmin*exp(s*(n-1));
0123             <span class="comment">% find closest actual frequency</span>
0124             [dum,k]=