Vector Quantization - K-Means

A simple algorithm for training codebooks for vector quantizationusing K-Means algorithm.

You are now following this Submission

This function is for training a codebook for vector quantization. The data set is split to two clusters, first, and the mean of each cluster is found (centroids). The disttance of each vector from these centroids is found and each vector is associated with a cluster. The mean of vectors of each cluster replaces the centroid first. If the total distance is not improved substantially, The centroids are each split to two. This goes on untill the required number of clusters is reached and the improvement is not substantial.

Cite As

Esfandiar Zavarehei (2026). Vector Quantization - K-Means (https://in.mathworks.com/matlabcentral/fileexchange/10943-vector-quantization-k-means), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0