GLCM matrix easily helps to extract the texture features.
To calculate different statistics (Example: Contrast, Correlation) from “glcm” you can use function “graycoprops” that will calculate the statistics properties defined in its “properties” argument. For more information refer to below link:
Since you have already extracted features. For classification using SVM using custom kernel please refer to below link: