How to extract a specific region from a data plot through a shapefile

There are two global data sets: (1) in netCDF file; (2) in .mat file. Have plotted these 2 data sets on the same map. How do I extract a region of interest from the map through the shapefile of that particular region?

 Respuesta aceptada

KSSV
KSSV el 17 de Oct. de 2022
REad about inpolygon. Shout and say inpolygon today :).
You may refer the below link for a demo:

3 comentarios

Thank you very much. This helps solve it.
Thanks is accepting/ voting the answer. :)
Done. Sorry, I haven't done it in the first place

Iniciar sesión para comentar.

Más respuestas (0)

Preguntada:

el 17 de Oct. de 2022

Comentada:

el 20 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by