Taking average over specified grid box resolution?

2 vues (au cours des 30 derniers jours)
Subhodh Sharma
Subhodh Sharma le 4 Août 2021
Commenté : Matt J le 4 Août 2021
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 commentaire
Matt J
Matt J le 4 Août 2021
But the resolution of your grid is alreayd 2.5 degree per box.

Connectez-vous pour commenter.

Réponses (1)

Matt J
Matt J le 4 Août 2021
Modifié(e) : Matt J le 4 Août 2021
Using sepblockfun (Download)
sepblockfun(Data,[2,2],'mean')

Catégories

En savoir plus sur Geographic Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by