KMEANS Trains a k means cluster model.CENTRES = KMEANS(CENTRES, DATA, OPTIONS) uses the batch K-means
algorithm to set the centres of a cluster model. The matrix DATA
represents the data which is being clustered, with each row
corresponding to a vector. The sum of squares error function is used.
The point at which a local minimum is achieved is returned as
CENTRES.
Generate the digital AWGN signal n[k] (sampled n(t)) by generating zero mean
Gaussian random variables independently (separately) for each k MATLAB function random.