Need to calculate the VARIANCE of GLCM matrix of an image in MATLAB
This link has details code of how to calculate GLCM variance and other statistical features in matlab.
Reference link https://www.imageeprocessing.com/2019/04/texture-measures-from-glcm-matlab-code.html
For meanX and meanY calculation