Question: MATLAB(ASAP) Please give me a comment statement for each code in my text. Thanks. clc; clear; v1 = 1.56/24; v3 = 0.18/24; v2 = 0.05/24;

MATLAB(ASAP)

Please give me a comment statement for each code in my text.

Thanks.

clc; clear; v1 = 1.56/24; v3 = 0.18/24; v2 = 0.05/24; v6 = 0.05/24; v7 = 0.003/24; dic = 100*1000; poc = 340*1000; doc = 1270*1000; phyto = 212.81*1000; zoo = 25*1000; time = 0:1:24; tem = exp([10 9 8 7 6 5 6 7 8 9 10 12 14 16 18 20 20 18 16 15 14 13 12 11 10]*0.069); I = [0 0 0 0 0 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.7 0.5 0.3 0.1 0 0 0 0 0 0];

for n=1:25 Gwang = min(v1*tem(n),I(n))*phyto; PhytoZoo = v3*tem(n)*zoo; Resp = v2*tem(n)*phyto; Poc = v6*tem(n)*poc; Doc = v7*tem(n)*doc; dic = dic-Gwang+PhytoZoo+Resp+Poc+Doc; if dic<0 dic = dic+Gwang; end plot(time(n),dic,'rs-'); hold on; plot(time(n),Gwang,'--gd'); plot(time(n),PhytoZoo, '-bx'); plot(time(n),Resp, '-.m+'); plot(time(n),Poc, '-yo'); plot(time(n),Doc, '--k*'); 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!