Taking average over specified grid box resolution?

I have a latitude=88.75:2.5:-88.75 and longitude=-178.75:2.5:178.75; Data=rand(144, 72) ;what I want to take average over every 2.5 × 2.5 deg grid box over the Data.

1 件のコメント

Matt J
Matt J 2021 年 8 月 4 日
But the resolution of your grid is alreayd 2.5 degree per box.

サインインしてコメントする。

回答 (1 件)

Matt J
Matt J 2021 年 8 月 4 日
編集済み: Matt J 2021 年 8 月 4 日

0 投票

Using sepblockfun (Download)
sepblockfun(Data,[2,2],'mean')

カテゴリ

ヘルプ センター および File ExchangeGeographic Plots についてさらに検索

製品

質問済み:

2021 年 8 月 4 日

コメント済み:

2021 年 8 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by