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 个评论
Matt J
2021-8-4
But the resolution of your grid is alreayd 2.5 degree per box.
回答(1 个)
sepblockfun(Data,[2,2],'mean')
类别
在 帮助中心 和 File Exchange 中查找有关 Geographic Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!