cell array mean clculation
Mostrar comentarios más antiguos
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..
Respuestas (1)
Jason Firth
el 13 de Jun. de 2019
0 votos
Can you convert to a matrix?
mean(cell2mat(ps),3)
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!