I have a climatic dataset of a region where I am calculating time series (for drought index). The dimension of the dataset is 164*153*1416 (1416 months in the dataset and the others are the location). How I can average this over space and time?
3 ビュー (過去 30 日間)
古いコメントを表示
Average= nanmean(Box_SPEI(:,:,:))
0 件のコメント
採用された回答
Chad Greene
2021 年 5 月 3 日
To get a map of average SPEI,
SPEI_mean = mean(SPEI,3,'omitnan');
and that calculates the mean along the third dimension (time).
4 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Climate Science and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!