MATLAB Function Reference | Search  Help Desk |
kmeans | See Also |
performs kMeans clustering
Syntax
cg = kmeans(d,n)
Description
cg = kmeans(d,n)
Finds the center of the clusters cg
using
the kMeans clustering method.
d
is the data set and n
the number of prototypes by cluster.
cg
is a n
rows matrix (one for each cluster).
mkmeans, fkmeans, gkclus