I have a number of nodes that is expressed by 'X' and has the value of '98', number of cluster is '14', the code is working fine, but in this code, the number of nodes is not equal in all the clusters, and I need the number of node in each cluster to be '7'. Any help?
X = [A, B]; [idx,C,sumd] = kmeans(X,7,'Distance','cityblock','replicates',3);
Best Answer