Hello,
if I have two column vecotors, xcoord (that has some x-coordinates) and ycoord (that has some y-coordinates), How can I get the elements in xcoord and ycoord if it satisifes inpoly(xcoord,ycoord,#,*) ?
i.e. if inpoly(xcoord,ycoord,#,*) == 1 for all elements inside xcoord and ycoord.
where # and * are the coordinates of some polygon that I want to know which coordinates in xcoord and ycoord lies inside this polygon.
Thank you.
Best Answer