class="comment">% time series have to be numeric and either a (n,1) or a (1,n) vector</span>
0056 addRequired(ip, <span class="string">'Q'</span>, @(Q) isnumeric(Q) &amp;&amp; (size(Q,1)==1 || size(Q,2)==1)) 
0057 <span class="comment">% date time series has to be numeric or datetime and either a (n,1) or a (1,n) vector</span>
0058 addRequired(ip, <span class="string">'t'</span>, @(t) (isnumeric(t) || isdatetime(t)) &amp;&amp; (size(t,1)==1 || size(t,2)==1)) 
0059 
0060 <span class="comment">% optional inpu