MATLAB: Selection of equal distances points from a set of points

equal distance pointsNetwork

assume a list of points or nodes. each one of them has x and y coordinates . the distance between two points i and j equal D(i,j)= sqrt((xi-xj)^2+(yi-yj)^2).
now, i want to select a set of these nodes which have equal distances between them (the inter-distance is specified previously –> d). hence the selected points are uniformly distributed

Best Answer

Try to doc knnsearch.....knnsearch gives you nearest neighbors of the given set of points lying at a specified distance given as input.
Related Question