How to use the inpolygon function ??
Show older comments
Hi Matlab Users,
I have 4 Ponints given
X1=[0,0], X2=[2,0], X3=[2,2] and X4=[0,2]
and one point, lets say P=[1,1], that has to be tested whether it is in the convex hull of X1 to X4. How do i actually do that??
Sry, but i don´t understand the explanation for the inpolygon function when it comes to this simple example above.
I'd appreciate your help, With best regards, john
Accepted Answer
More Answers (0)
Categories
Find more on Computational Geometry in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!