I am trying to use fcm (fuzzy C-means clustering) matlab tool, but I don't know how to put my own data. I am trying to cluster nodes based on distance from the center. So my data are x and y coordinates. I am basically trying to compare it with k-means this is how I did the k-means:
X=[x_users,y_users];
nc=20;
idx = kmeans(X,nc);
I need to know how to do the same thing with fcm, am sorry if my question is too naive.
Thanks,
will do it. For example:
Using
kmeans
the answer would be like the following plot: