I want to find if the points theta1 at radius1 whether they are inside the polygon or outside which is denoted by th_smaller at r_smaller
[in,on] = inpolygon(theta1,radius1,th_smaller,r_smaller);numel(theta1(in))numel(theta1(on))numel(theta1(~in))
with this figure,if i run the code, i am getting all points as outside the polygon
Best Answer