PlotClusters.m (Scripts) Publisher's description
from Elad Kivelevitch
This function takes clustering data and plots it
This function takes clustering data and plots it, if the data is 2d or 3d. The inputs are:
An m-by-d matrix of data points, where d is the number of dimension and m the number of data points
An m-by-1 vector of indices that associate each data point with a cluster.
A c-by-d matrix with c cluster centers. If not given, the function calculates them.
A c-by-3 matrix of colors, as generated by the hsv command. The number of colors has to be no less than the number of clusters
Note: this was only tested with version 2008a on Windows. Should work for all versions.
System Requirements:MATLAB 7.6 (R2008a)
Program Release Status: New Release
Program Install Support: Install and Uninstall