Hello,
I have multi-dimensional array that is 8x8x40. This is basically a 8×8 correlation matrix that is concatenated across 40 people. I would like to get the mean 8×8 correlation matrix for the first 20 and then the mean correlation matrix for the last 20. If I do mean(A,3) it gives me the mean for all 40 people but I would like the individual means for two groups. Would I have to divide the array into two (one for each group)? If so how would I do this?
Thanks.
Best Answer