how to do sum up elements one by one (sequence addition)
1 view (last 30 days)
Show older comments
[1 2 3 4] to [1 3 6 10] i.e 1=1 ; 1+2=3; 1+2+3=6; so on
0 Comments
Answers (2)
halleyhit
on 8 Jan 2017
just a hint: [1 3 6 10]'=[1 1 1 1;0 1 1 1; 0 0 1 1; 0 0 0 1]*[1 2 3 4]'
0 Comments
See Also
Categories
Find more on Elementary Math in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!