How do I find if a x,y point is within a given polygon?
Show older comments
Is there a function, probably in the mapping community, that I could use to find out if a location specified by (Latitude, longitude) is within a polygon defined by the (Latitude, longitude) coordinates of the corners? A general function for x,y will do just as well. My polygon is convex, which is an easier problem than a general non-convex polygon.
Accepted Answer
More Answers (0)
Categories
Find more on Coordinate Reference Systems 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!