MATLAB Answers

Climatological mean of several years

3 ビュー (過去 30 日間)
SWARNENDU PAL
SWARNENDU PAL 2021 年 5 月 7 日
回答済み: SWARNENDU PAL 2021 年 5 月 7 日
I have a netcdf data set of (monthly timexlatitudexlongitude). No of month is 216, so total 18 years. 1st index represent the january data, 2nd index represent the february data ... 12th index represent december data and again 13th index represent january data, 14th index represent february data so on and so forth. Now I want to find mean of all january data, mean of all february data ... mean of all december data. So after doing this operation the size of the array will be reduce to 12xlatxlon(previously it was 216xlatxlon). How can I do that?

回答 (1 件)

SWARNENDU PAL
SWARNENDU PAL 2021 年 5 月 7 日
I have given the wrong dimension. The surrent dimension is 128x64x216 (lonxlatxtime). I want to reduce it to 128x64x12

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by