vectorB(n) = sum(vectorA(1:n)) without a loop
Mostrar comentarios más antiguos
I would like to do:
vectorB(n) = sum(vectorA(1:n))
without a loop.
Thanks in advance
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!