MATLAB: I have to take mean value for each element of the matrix of an image how can i do that

matrixmean

i have to take mean value for each element of the matrix of an image how can i do that

Best Answer

mean(TheMatrix(:))