K-Means Clustering in Wireess Sensor Networks
4 views (last 30 days)
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
0 Comments
Answers (2)
Walter Roberson
on 11 Feb 2014
if you have the Stats toolbox. If you do not then you can find kmeans contributions in the File Exchange.
0 Comments
See Also
Categories
Find more on Statistics and Machine Learning Toolbox 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!