how to make clustering based on distance?

2 vues (au cours des 30 derniers jours)
ker fang fang
ker fang fang le 1 Avr 2015
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?

Réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by