mean of whole cell array

1 次查看(过去 30 天)
Parul
Parul 2013-12-31
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by