How to find centroid based on clusterdata?
显示 更早的评论
Hi,
I have an array that contains cluster coordinates. X-coordinates are in an array called:
xArray = [50x1 single] [20x1 single] (2 clusters) and
yArray = [50x1 single] [20x1 single] (corresponding y coordinates)
I would like to find a centroid point based on these cluster points, so I for cluster 1 I have
(x,y) centroid and so on for cluster 2.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Hierarchical Clustering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!