To avoid wasting memory about the device to which you deploy produced code, you are able to different education and prediction through the use of kmeans and pdist2, respectively. Use kmeans to produce clusters in MATLAB and use pdist2 from the produced code to assign new details to present clusters. https://mariooomki.shotblogs.com/the-definitive-guide-to-matlab-assignment-help-and-report-writing-28866556