Simple example and generic function for kmeans clustering

Simple generic function and example to perform kmeans clustering
1.2K Downloads
Updated 18 Dec 2014

View License

Simple generic function that takes two vectors and performs kmeans clustering. Has very basic example code to call kmeans clustering algorithm and display plots. Based on code from the mathworks website and matlab documentation.

Cite As

Dr. Soumya Banerjee (2024). Simple example and generic function for kmeans clustering (https://www.mathworks.com/matlabcentral/fileexchange/48768-simple-example-and-generic-function-for-kmeans-clustering), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

kmeans_generic_example_function/

kmeans_generic_example_function/html/

Version Published Release Notes
1.2.0.0

Commented code changed

1.1.0.0

Added picture

1.0.0.0