How to group points (xy coordinates)

3 visualizaciones (últimos 30 días)
Luís Amaral
Luís Amaral el 17 de Abr. de 2015
Editada: Luís Amaral el 17 de Abr. de 2015
Hi, I'm using kmeans to group a random number of points in a xy axis.
Is there any way of doing it but limiting the number of points per group. I mean, if I want 2 groups of points but in my xy axis I have like 100 points close to each other and another 20 points far away from the other 100 points. If I run kmeans function, it will probably join the 100 points and the 20 points in two different groups and I would like to limit the number of points, for example, by 80.
Is it possible to do?
Thank you very much

Respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by