ent">% % remove recession segments that contain flat lines of certain length</span>
0143 <span class="comment">% rmv = false(length(flow_section),1);</span>
0144 <span class="comment">% for i = 1:size(flow_section,1)</span>
0145 <span class="comment">%     Q_tmp = Q(flow_section(i,1):flow_section(i,2));</span>
0146 <span class="comment">%     k = 5;</span>
0147 <span class="comment">%     if length(Q_tmp)&gt;k</span>
0148 <span class="comment">%         for j = 1:length(Q_tmp)-k</span>
0149 <span class="com