I've a matrix RF = RF(512,1728). This matrix contain 9 images and the number of frame is equal 9, the first image considering one single frame is: RF1 = RF1(:,1:192) etc. So I'd like to average the hole matrix in order to obtain one single image. any idea?
Thanx in advance!
Just reshape the matrix
allRF=reshape(RF,[512,192,9]);
and compute the mean
meanRF=mean(allRF,3);