K-Means Clustering in Wireess Sensor Networks
Show older comments
I wish to implement a K-means algorithm in MATLAB which takes the locations (in the 2-D Coordinate system ) of the nodes as an input and after calculating the best "K" ( k=3 )cases of centroid, gives the locations of the K-centroids as the output.
Kindly help me generate a code for the same or please let me know if anyone knows where i can find a similar one.
Thank you
Regards
Answers (2)
Walter Roberson
on 11 Feb 2014
0 votes
if you have the Stats toolbox. If you do not then you can find kmeans contributions in the File Exchange.
anurag sharma
on 2 Apr 2019
0 votes
the above code is for data mining not wsn
Categories
Find more on k-Means and k-Medoids Clustering in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!