Question: write a matlab script for this soil moisture is given by soil = zeros(1,120) soil(1) = 0.8 decay = 0.08*soil(t) for t = 1:119 soil(t+1)
write a matlab script for this
soil moisture is given by
soil = zeros(1,120)
soil(1) = 0.8
decay = 0.08*soil(t)
for t = 1:119
soil(t+1) = soil(t) - decay
end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
