f channels</span>
0011 <span class="comment">%   npoints - number of data points for each channel</span>
0012 <span class="comment">%   freq - A/D frequency</span>
0013 <span class="comment">%   d - [nch npoints] data array</span>
0014 
0015 <span class="keyword">if</span>(nargin ~= 1)
0016    disp(<span class="string">'1 input argument is required'</span>)
0017    <span class="keyword">return</span>
0018 <span class="keyword">end</span>
0019 nch = 0;
0020 npoints = 0;
0021 
0022 <span class="keyword">if</s