PlotClusters(Data,I​DX,Centers,Colors)

This function plots clustering data, for example the one provided by kmeans, if the data is 2d or 3d

Download
Download

You are now following this Submission

Cite As

Elad Kivelevitch (2026). PlotClusters(Data,IDX,Centers,Colors) (https://uk.mathworks.com/matlabcentral/fileexchange/31710-plotclusters-data-idx-centers-colors), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

.

Download
2.0.1

Smaller number of point in the example to show centers

Download
2.0.0

Version 2 includes two main improvements:
1. Performance is improved per Arnobou's comment below.
2. Help improvements + added example of how to use the function.

Download
1.0.0

Download