This preview shows page 1. Sign up to view the full content.
Unformatted text preview: a=size(foodGrid); outputGrid=foodGrid; i=1:length(a)-1 j=1:length(a)-1 if(algaeGrid(i,j)>0) outputGrid(i,j)=foodGrid(i,j)-10; end end end...
View Full Document
This note was uploaded on 10/14/2009 for the course ENGR 101 taught by Professor Ringenberg during the Fall '07 term at University of Michigan.
- Fall '07