function s = MeanAll(in) % [s] = MeanAll(in) % returns the mean of input IN. IN can be anything from a scalar to an N-D % matrix % % DN 2008 s = mean(in(:));