title: how to calculate mean of several gray scale images in matlab?
body: <p>I have a set of images and I want to calculate mean of these images in Matlab and then subtract the mean from all images.Then, plot the distribution of images through hist function in Matlab. </p>
  
  <p>Thanks </p>