MATLAB: Calculator mean of multi matrix

matrixmean

For each day I have one matrix size 2880×1440, it in data like picture:
I would like to calculate mean of 31 matrixs. I already know mean = (data{1}+data{2}+….data{31})/31. but I need to calculate of 60 months. So could you please give me the solution I can get it.
Thank you so much!

Best Answer

a = [data{:}];
Result = mean(reshape(data,2880,1440,[]),'all')