mean of whole cell array

1 view (last 30 days)
Parul
Parul on 31 Dec 2013
Answered: Walter Roberson on 31 Dec 2013
i hv a cell b of size 3 X 4, whr b is
b= 12X10 double 12X10 double [ ] [ ]
12X10 double 12X10 double 12X10 double 12X10 double
12X10 double [ ] [ ] [ ]
i want to take mean of whole array and that should result in 12X10 double matrix

Answers (1)

Walter Roberson
Walter Roberson on 31 Dec 2013
bmean = mean( cat(3, b{:}), 3);

Categories

Find more on Parallel Computing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!