Can movsum be modified a way, so that it will gain the following output:
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Benedikt Wessel
il 18 Set 2018
Commentato: Benedikt Wessel
il 18 Set 2018
A=[1,2,3,4,5,6,7,8,9] B=movsum(A,?) B=[1,3,6,10,15,21,28,36,45] My aim is to build a sum along the vector; adding a value to the previous sum. Thanks for helping.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!