how do I subtract and then mean in every row of a data set?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Clifford Wu
le 22 Avr 2015
Commenté : Clifford Wu
le 23 Avr 2015
Say I had a 10000x10 matrix, and in every row. I wanted to take the conditional mean for columns 1-5 and 6-10, get the difference of these two means, and then make that appear in a new data set in the corresponding row. Would I use for loop? I am new to mat lab so I'm not sure how to use it Thank you
4 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!