how to compare locations with x and y coordinates with other set of locations having x and y coordinates

2 posts were merged into an existing topic: how i can do comparison of matrix of rows=10 and col=2 with other matrix (10,2)