Array Operation with using another array
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Afiye Havva Geçgel
le 29 Mai 2019
Réponse apportée : Kevin Phung
le 29 Mai 2019
I have 2 different arrays as
k=[4 9 3 3 6 8 8 12 6]
m=[1 2 6 7]
i need to reach the summation of
k(1)+k(2)+k(6)+k(7)
how can i do this with for loop?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing 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!