Writing a loop to calculate a seasonal cycle and then plot the seasonal cycle?
조회 수: 15(최근 30일)
My current code is this:
index_month = find(month==mdo);
month_mean = mean(avhrr.sst(index_month));
s_cycle_month(index_month) = month_mean;
plot(t, month_mean, 'r')}
When I run this, it produces a blank graph. I think the loop is correctly producing the seasonal cycle, how can I get it to plot the graph?