means of the 3rd dimension of a matrix
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Asl
le 21 Oct 2013
Commenté : Walter Roberson
le 21 Oct 2013
AA = rand(3) I want a 2d matrix BB containing means of 3rd dimension of matrix A How I can do this smartly? Thanks
3 commentaires
Réponse acceptée
Walter Roberson
le 21 Oct 2013
BB = mean(A, 3);
2 commentaires
Walter Roberson
le 21 Oct 2013
std(A,0,3)
As could be determined by looking at the documentation for std()
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical 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!