Azzera filtri
Azzera filtri

mean of whole cell array

1 visualizzazione (ultimi 30 giorni)
Parul
Parul il 31 Dic 2013
Risposto: Walter Roberson il 31 Dic 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

Risposte (1)

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

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by