Extract points which are inside a polygon

조회 수: 4 (최근 30일)
David E.S.
David E.S. 2021년 3월 6일
답변: Star Strider 2021년 3월 6일
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

채택된 답변

Star Strider
Star Strider 2021년 3월 6일
The inpolygon function comes quickly to mind.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Elementary Polygons에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by