b = pointInRectangle(rect, point)
Determine if points lie inside or on the boundary of a rectangle
rect | any | rectangle [left bottom width height] |
point | any | [Nx2] array with the (x,y) coordinates of N points |
b | any | [Nx1] boolean array, b(i) is true if point(i,:) lies in or on the boundary of the rectangle |