Extract points which are inside a polygon

4 vues (au cours des 30 derniers jours)
David E.S.
David E.S. le 6 Mar 2021
Hi,
I want to select all the points (latitude,longitude) which are inside the rectangle. I can create a polygon which includes all the points, but I can't find the way to extract them. Can you tell me a simple way to do it?
Thanks,
David

Réponse acceptée

Star Strider
Star Strider le 6 Mar 2021
The inpolygon function comes quickly to mind.

Plus de réponses (0)

Catégories

En savoir plus sur Elementary Polygons dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by