vectorB(n) = sum(vectorA(1:n)) without a loop
Ältere Kommentare anzeigen
I would like to do:
vectorB(n) = sum(vectorA(1:n))
without a loop.
Thanks in advance
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!