 warm up effect (Ladson et al., 2013)</span>
0087 <span class="keyword">if</span> length(Q)&gt;60
0088     Q_padded = [Q(30:-1:1); Q; Q(end-29:end)];
0089 <span class="keyword">else</span>
0090     Q_padded = Q;
0091     error_flag = 1;
0092     error_str = [<span class="string">'Warning: Very short time series. Baseflow separation might be unreliable. '</span>, error_str];
0093 <span class="keyword">end</span>
0094 
0095 <span class="comment">% obtain baseflow</span>
0096 <span class="keyword">switch</span