MATLAB Answers

Extract points which are inside a polygon

조회 수: 4(최근 30일)
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 6 Mar 2021
The inpolygon function comes quickly to mind.

추가 답변(0개)

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by