k-means clustering algorithm

Version 1.0.0.0 (3.76 KB) by Craig
Performs one step of the k-means clustering algorithm
1.7K Downloads
Updated 16 Jul 2012

View License

Input image must be a nxm binary image and the initial guess of where the averages of the clusters are must be a px2 array with each row representing the row and column value of each initial cluster average guess.

An example m file is provided to illustrate its use.

Cite As

Craig (2024). k-means clustering algorithm (https://www.mathworks.com/matlabcentral/fileexchange/37503-k-means-clustering-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0