Robochameleon
v1.0
|
k-means clustering algorithm for complex-valued data. More...
Go to the source code of this file.
Functions | |
function | kmeans_v1 (in initPosArray, in symbVector, in varargin) |
This function applies the k-means algorithm to find the centers of complex-valued data clusters. More... | |
k-means clustering algorithm for complex-valued data.
This function is faster than matlab's built-in kmeans, but has worse performance in finding the cluster centroids.
Example
Definition in file kmeans_v1.m.
function kmeans_v1 | ( | in | initPosArray, |
in | symbVector, | ||
in | varargin | ||
) |
This function applies the k-means algorithm to find the centers of complex-valued data clusters.
initPosArray | Initial particles positions (array of complex numbers) |
symbVector | Received constellation (array of symbols + noise, rotation, etc) |
gamma | Adaptation step. [Default: 0.5] |
iterations | Max number of allowed k-means interations. [Default: 10] |
tol | Convergence tolerance, i.e., if the average delta in the position the centers is lower than tol, the algorithm stops. [Default: 2e-3] |
centers | Clusters centroids. |