</span> size(flow_section,1) &lt; 10
0221             error_flag = 1;
0222             error_str = [<span class="string">'Warning: Fewer than 10 recession segments extracted, results might not be robust. '</span>, error_str];
0223         <span class="keyword">end</span>
0224         
0225         <span class="comment">% add the baseflow recession sections to the plot</span>
0226         <span class="keyword">if</span> plot_results
0227             <span class="comment">% add baseflow to plot</span>
0228   