Array Operation with using another array
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Afiye Havva Geçgel
am 29 Mai 2019
Beantwortet: Kevin Phung
am 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!