Hi, I am trying to find a shorter and easier for my calculations. I have a in total 42 of 424x412 doubles for which I want to calculate the mean of all elements and build an array of the results that would be 42x1. So far I have done that the following way
B = [mean(X1,'all');mean(X2,'all');..mean(X42,'all')]
Since I have to calculate such arrays multiple times (I have do that for multiple sets of 42 arrays) I would much rather like to that in a for-loop..so far i have tried the following, which didn't work
can somebody help me?
I am a MATLAB rookie! :D