span class="keyword">end</span>;
0044 <span class="keyword">if</span> (length(NW) ~= 1), error(<span class="string">'NW must be a scalar.'</span>);  <span class="keyword">end</span>;
0045 <span class="keyword">if</span> (length(Fs) ~= 1), error(<span class="string">'Fs must be a scalar.'</span>);  <span class="keyword">end</span>;
0046 
0047 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Make Tapers %%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
0048 P = 2*NW-1;
0049 [E,V] = dpss(Nx,NW,P);
0050 E = E';
0051 
0052