SDCLUSTER Cluster data D=SDCLUSTER(DATA,MODEL) [D,PD]=SDCLUSTER(DATA,MODEL,OPTIONS) INPUT DATA Data set to be clustered MODEL Untrained model (such as sdkmeans or sdmixture) OUTPUT D Output data set with new cluster labels PD Trained model to be applied to new data OPTIONS 'all' Apply clustering to all data (not per class) 'lab' Specify the name of property where cluster labels will be stored (default: 'cluster') 'prefix' Specify the cluster name prefix (default: 'C') DESCRIPTION SDCLUSTER performs cluster analysis using MODEL on DATA. By default, clustering is performed per-class.