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?

 Risposta accettata

REad about inpolygon. Shout and say inpolygon today :).
You may refer the below link for a demo:

3 Commenti

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by