K-means clustering is used to realize clustering of multidimensional matrices and visual display (matlab)