ng">'Not enough input arguments.'</span>)
0046 <span class="keyword">end</span>
0047 
0048 ip = inputParser;
0049 ip.CaseSensitive = true;
0050 
0051 <span class="comment">% required input arguments</span>
0052 <span class="comment">% time series have to be numeric and either a (n,1) or a (1,n) vector</span>
0053 addRequired(ip, <span class="string">'Q'</span>, @(Q) isnumeric(Q) &amp;&amp; (size(Q,1)==1 || size(Q,2)==1))
0054 <span class="comment">% date time series has to be numeric or datetime and either 