how to make clustering based on distance?
2 次查看(过去 30 天)
显示 更早的评论
hi, i am working on clustering in matlab. firstly, i need to calculate the distance between the cluster head and other random points. then, when i calculated their distance, i will have to cluster them base on the minimum distance.
for example, my cluster head is (10,20) and (16,24), and other random points such as (12,18),(15,15), (13,20) and (14,22). then i will have to calculate the distance between the cluster head and the other random points, and do clustering based on the minimum distance obtained between cluster head and the random points. how should i make the code to determine that it should belong to that cluster?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!