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

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')

카테고리

도움말 센터File Exchange에서 Geographic 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