How to create the means of the spatial sub-units of a shapefile from a raster dataset?

I wanted to get the spatial averages from a raster file for each of the spatial sub-units of a shapefile. How to get the same? I have attached the raster data ("Raster.mat"), raster data's latitude ("RasterLat.mat"), raster data's longitude ("RasterLon.mat"), and the shapefile ("District_Boundaries.zip") for your reference.
Through this I wanted to get the spatial averages of values fromt he raster file for each of the spatial units (districts) from the shapefile. Kindly help me with the same.

Kategorien

Mehr zu Data Import and Analysis finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020b

Gefragt:

am 21 Nov. 2022

Beantwortet:

am 20 Sep. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by