MATLAB: How to find average of each column in every matrix within a cell

averagecellmatrixmean

I have a 1×20 cell called "transmission" and I would like to find the average of each column (separately) within each matrix in the cell. Each matrix is 12000×20

Best Answer

mn=cellfun(@mean,c,'uniform',0); % c is the cell array
mean operates by column by default.