say i have a cell array in the form p = {[x1, y1], [x2, y2],…,[xn, yn]}

i want to find the number of points that arent within r distance of eachother. I know that pdist will find the distance between points but im not sure how to break this cell array up in order to apply this function. Any help?

## Best Answer