Vector of n elements
17 views (last 30 days)
Show older comments
Maciej Kupras
on 17 May 2020
Commented: Maciej Kupras
on 5 Jun 2020
Hey!
How can I create such a vector:
[1,1+2,1+2+3, ... ,1+2+3+...+n]
without a loop?
0 Comments
Accepted Answer
More Answers (2)
See Also
Categories
Find more on Loops and Conditional Statements 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!