How to averaging each each row in cell array?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tyann Hardyn
le 29 Juin 2022
Commenté : Tyann Hardyn
le 30 Juin 2022
Hi, Community...
I just want to ask, how to averaging each of my cell array according to the row?
i want to average dst_allfiles{1}(1), dst_allfiles{2}(1), dst_allfiles{3}(1)
then
mean(dst_allfiles{1}(2), dst_allfiles{2}(2), dst_allfiles{3}(2))
mean(dst_allfiles{1}(3), dst_allfiles{2}(3), dst_allfiles{3}(3))
............................
How to do that? Thank you....
0 commentaires
Réponse acceptée
David Hill
le 30 Juin 2022
d=cell2mat(dst_allfiles);
m=mean(d,2);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!