Taking average over specified grid box resolution?

2 visualizaciones (últimos 30 días)
Subhodh Sharma
Subhodh Sharma el 4 de Ag. de 2021
Comentada: Matt J el 4 de Ag. de 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 comentario
Matt J
Matt J el 4 de Ag. de 2021
But the resolution of your grid is alreayd 2.5 degree per box.

Iniciar sesión para comentar.

Respuestas (1)

Matt J
Matt J el 4 de Ag. de 2021
Editada: Matt J el 4 de Ag. de 2021
Using sepblockfun (Download)
sepblockfun(Data,[2,2],'mean')

Categorías

Más información sobre Geographic Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by