k-means clustering algorithm
Version 1.0.0.0 (3.76 KB) by
Craig
Performs one step of the k-means clustering algorithm
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 (2026). k-means clustering algorithm (https://in.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 LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection >
Find more on Cluster Analysis and Anomaly Detection in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
kmean/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
