You can use pdist2() in the stats toolbox to compute the distance of every point to every other point.
distances = pdist2(A, A);
Find which points are within 100 of each other
closePoints = distances < 100;
closePoints is a 100 by 100 array saying whether each point is close to any other point. So, for example, considering points 3 and 5, if point 3 and point 5 are within 100 of each other, then the (3,5) location of closePoints will be true. If they are farther away, then it will be false. Same for any other location in the array. So you know just by looking at the closePoints array, which points are close or not close to each other.
Best Answer