class="string">'boxcar'</span>;    <span class="comment">% Call is for logarithmic resolution</span>
0067     res=<span class="string">'LOG'</span>;
0068 <span class="keyword">elseif</span> nargin == 7
0069     res=<span class="string">'LOG'</span>;
0070 <span class="keyword">end</span>
0071 
0072 [NSamp,NVect]=size(x);
0073 <span class="comment">% Loop through channels if more than one column</span>
0074 <span class="keyword">for</span> chan = 1:NVect
0075     <span class="comment">% First remove mean</spa