This preview shows page 1. Sign up to view the full content.
Unformatted text preview: for d = 2:5 am(d) = 0; % start the sum at zero for y = 1:(d - 1) am(d) = am(d) + allWater(d - y); end % for y = 1:(d - 1) end % for d = 2:5 e % THEN DO THE REST OF THE DAYS IN THE DATA SET for d = 6:noDays am(d) = 0; % start the sum at zero for y = 1:5 am(d) = am(d) + allWater(d - y); end % for y = 1:5 end % for d = 6:noDays e end % function antecedentMoisture...
View Full Document
This note was uploaded on 09/28/2009 for the course BEE 1510 taught by Professor Staff during the Fall '05 term at Cornell University (Engineering School).
- Fall '05