Clear Filters
Clear Filters

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

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

Accepted Answer

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

More Answers (0)

Categories

Find more on Data Types in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!