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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!