Calculate the sum of first x natural numbers
for example if n=10 output =1+2+..+10=55
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers18
Suggested Problems
-
Sum all integers from 1 to 2^n
18085 Solvers
-
Vectorize the digits of an Integer
338 Solvers
-
988 Solvers
-
Create a Multiplication table matrix...
697 Solvers
-
Create an index-powered vector
966 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!