Effacer les filtres
Effacer les filtres

cell array mean clculation

2 vues (au cours des 30 derniers jours)
moaad abd allatif
moaad abd allatif le 13 Juin 2019
how to calculate the mean for only one dim in cell array :
for example :
this is the cell array sizes :
ps = cell(2,80,2);
i want to calculate the mean according the third dim..

Réponses (1)

Jason Firth
Jason Firth le 13 Juin 2019
Can you convert to a matrix?
mean(cell2mat(ps),3)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by