- You can load/ read the shapefile using shaperead.
- You can seperate the required region from a grid using inpolygon.
- You can plot the surface using pcolor/ surf.
- You can use inteprolation using interp2.
Arrange data according to geographic regions I have set
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Arielle Patapanian
el 15 de Jun. de 2020
Comentada: Arielle Patapanian
el 26 de Jun. de 2020
Hi everyone,
I have rainfall data across Australia which I am trying to organise into geographic regions.
I have defined the geographic regions on QGIS and have created a shapefile. I then have an array on MATLAB where the rows/columns represent latitude and longitude and the values represents the precipitation data.
I am unsure how to use the shapefile to separate this precipitation data into the regions I created on the shapefile.
Any help would be greatly appreciated thank you!
0 comentarios
Respuesta aceptada
KSSV
el 15 de Jun. de 2020
Refer this if you want to seperate different regions of shape file from given arrays.
5 comentarios
KSSV
el 26 de Jun. de 2020
S = shaperead(shapefile) ;
N = length(S);
for i = 1:N
R = [S(i).X S(i).Y] ; % this is ith polygon
end
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
