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
-
Reverse the elements of an array
1144 Solvers
-
1005 Solvers
-
Rotate a matrix for 180 degree
188 Solvers
-
506 Solvers
-
1831 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!