Sum values corresponding to a number in a vector
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sourangsu Chowdhury
le 24 Sep 2018
Modifié(e) : Stephen23
le 24 Sep 2018
4 1
4 10
4 2
8 20
5 12
5 4
5 8
5 6
Suppose I have two vectors, I need average of the digits in second vector corresponding to the digits in the first vector such that the result is
4 13
8 20
5 30
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur NaNs 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!