MATLAB: I want to define a area that is polygonal. how can i determine a nu piont is in the polygonal or not?

matalb

I want to define a area that is polygonal. how can i determine any piont is in the polygon or not??

Best Answer

help polyshape
Once you learn to create a polyshape, which is very easy. In fact, there are examples of using polyshape right in the help.
Then look at isinterior, which tests to see if a point is inside the polyshape you just created.
help isinterior