Extract points which are inside a polygon

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

 Akzeptierte Antwort

Star Strider
Star Strider am 6 Mär. 2021

0 Stimmen

The inpolygon function comes quickly to mind.

Weitere Antworten (0)

Kategorien

Produkte

Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by