Taking average over specified grid box resolution?

2 ビュー (過去 30 日間)
Subhodh Sharma
Subhodh Sharma 2021 年 8 月 4 日
コメント済み: Matt J 2021 年 8 月 4 日
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 日
Using sepblockfun (Download)
sepblockfun(Data,[2,2],'mean')

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by