th</span>
0097         Nw=floor(2*(Lp-2)/(N+1)+1);
0098         <span class="keyword">if</span> mod(Nw,2) == 0
0099             Nw=Nw-1;                <span class="comment">% Ensure odd length</span>
0100         <span class="keyword">end</span>
0101         win=feval(winstr,Nw);
0102         <span class="comment">% Ensure that the sum of the window is unity</span>
0103         win = win/sum(win);
0104         <span class="comment">% Smooth estimate by window</span>
0105         Nstep=(Nw-1)/2;          <s