Add connsecutive numbers up to givven number x.
ex: x=5
y=1+2+3+4+5
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers122
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2822 Solvers
-
11394 Solvers
-
Replace every 3rd element in a vector with 4
268 Solvers
-
190 Solvers
-
1030 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!