Use inpolygon for more than 1 polygon

1 view (last 30 days)
Kenneth Morley
Kenneth Morley on 26 Jan 2014
Commented: Azzi Abdelmalek on 26 Jan 2014
As the questions suggests, I am attempting to use the inpolygon function to determine if a set of points is within a polygon. However, I have 61 polygons I need to see if the points are in and which polygon they are in. Is there a way to do this with a loop? I would like the output to be a nested array but I will take what I can get. Thanks for your help!
Kenny

Answers (0)

Categories

Find more on Elementary Polygons in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!