an class="keyword">if</span> nargin &lt; 1
0031     error(<span class="string">'Not enough input arguments.'</span>)
0032 <span class="keyword">end</span>
0033 
0034 ip = inputParser;
0035 ip.CaseSensitive = true; 
0036 
0037 <span class="comment">% required input arguments</span>
0038 <span class="comment">% time series have to be numeric and either a (n,1) or a (1,n) vector</span>
0039 addRequired(ip, <span class="string">'Q'</span>, @(Q) isnumeric(Q) &amp;&amp; (size(Q,1)==1 || size(Q,2)==1))
0040 
0041 