Add connsecutive numbers up to givven number x.
ex: x=5
y=1+2+3+4+5

Solution Stats

149 Solutions

120 Solvers

Last Solution submitted on Feb 05, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers120

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!