yword">if</span> nargin &lt;= 4
0045     Nin=varargin{3};
0046     <span class="keyword">if</span> nargin == 4
0047         winstr=varargin{4};
0048     <span class="keyword">end</span>
0049 <span class="keyword">else</span>
0050     fmin=varargin{3};
0051     fmax=varargin{4};
0052     Nfreqs=varargin{5};
0053     Lsmin=varargin{6};
0054     <span class="keyword">if</span> nargin == 7
0055         winstr=varargin{7};
0056     <span class="keyword">end</span>
0057 <span class="keyword">end</span>
0058 
0059