Taking average over specified grid box resolution?

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Matt J
Matt J il 4 Ago 2021
Modificato: Matt J il 4 Ago 2021
Using sepblockfun (Download)
sepblockfun(Data,[2,2],'mean')

Categorie

Scopri di più su Geographic Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by