subplot timeseries for mean monthly temperature, max monthly temperature and minimum monthly temperature
조회 수: 4 (최근 30일)
이전 댓글 표시
Can someone help me for subplot timeseries for mean monthly temperature, max monthly temperature and minimum monthly temperature
답변 (1개)
David Hill
2022년 11월 22일
With matrix rows: year, month, min, mean, max
f=find(diff(data(3,:))<0);
f=[0,f,size(data,2)+1];
monthlyData=zeros(5,length(f)-2);
for k=1:length(f)-2
m=data(4,f(k)+1:f(k+1));
monthlyData(k,:)=[data(1:2,f(k+1));min(m);mean(m);max(m)];
end
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Time Series에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!