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

1 Ansicht (letzte 30 Tage)
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Cell Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by