vectorB(n) = sum(vectorA(1:n)) without a loop
Mostra commenti meno recenti
I would like to do:
vectorB(n) = sum(vectorA(1:n))
without a loop.
Thanks in advance
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!