MATLAB Function Reference | Go to function: | 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).

See Also

mkmeans, fkmeans, gkclus

[ Help Desk ]