4 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%% Check Inputs %%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
0035 <span class="keyword">if</span> (nargin &lt; 2), error(<span class="string">'Three arguments are required.'</span>);  <span class="keyword">end</span>
0036 <span class="keyword">if</span> (nargin &lt; 3), NW = 4;  <span class="keyword">end</span>;
0037 <span class="keyword">if</span> (nargin &lt; 4), Fs = 1;  <span class="keyword">end</span>;
0038 
0039 <span class="keyword">if</span> (size(X,1) &gt; 1