KCENTRES Finds K center objects from a distance matrix
[LAB,J,DM] = KCENTRES(D,K,N)
DescriptionFinds K center objects from a symmetric distance matrix D. The center objects are chosen from all M objects such that the maximum of the distances over all objects to the nearest center is minimised. For K > 1, the results depend on a random initialisation. The procedure is repeated N times and the best result is returned. If N = 0, initialisation is not random, but done by a systematic selection based on a greedy approach. See alsohclust, prkmeans, emclust, modeseek,
