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

조회 수: 16 (최근 30일)
fernando aguirre
fernando aguirre 2018년 6월 7일
댓글: fernando aguirre 2018년 6월 7일
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

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by