Introduction - If you have any usage issues, please Google them yourself
Matlab for beginner students will help, Using matlab to calculate the Mahalanobis distance for the image, Using MATLAB dynamic clustering or iterative self-organizing data analysis.