Help me with a function.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Aniruddha Das
am 6 Jun. 2020
Beantwortet: the cyclist
am 6 Jun. 2020
I want to get a row matrix A from a parent row matrix B, where, the each component of A are the sequential sum of the components of B.
For e.g if B = [1 5 14 7 3] then A should be [1 6 20 27 30]
Please help.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!