How to Find Number of Group of Scattered Data?
1 view (last 30 days)
Show older comments
I have scatterd data as shown in below:
I want to find the number of group (the resultant total number of groups may be three in this case).
And then, I want to find the centriod of each group.
Is there a proper matlab command? How to realize it?
I eagerly await your reply. Thank you very much.
2 Comments
Rik
on 3 Nov 2021
Can you attach your data? It seems like a function like knnsearch will do the trick.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!