Array Operation with using another array
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Afiye Havva Geçgel
el 29 de Mayo de 2019
Respondida: Kevin Phung
el 29 de Mayo de 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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!