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 Solvers121
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2815 Solvers
-
824 Solvers
-
1716 Solvers
-
Calculate the average value of the elements in the array
1766 Solvers
-
403 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!