decreasing timesteps depends on length of timestep</span>
0094 len_decrease = recession_length/days(t(2)-t(1));
0095 <span class="comment">% find timesteps with decreasing flow</span>
0096 decreasing_flow = Q(2:end)&lt;(Q(1:end-1)+eps);
0097 <span class="comment">% start on a non-decreasing point</span>
0098 start_point = find(decreasing_flow==0,1);
0099 decreasing_flow = decreasing_flow(start_point:end);
0100 <span class="comment">% find start and end of decreasing sections</span>
0101 flow_change = find(d