Add consecutive integer numbers - MATLAB Cody - MATLAB Central

Problem 44818. Add consecutive integer numbers

Difficulty:Rate

Given consecutive numbers, add the numbers without using the sum command in MATLAB.

Solution Stats

75.28% Correct | 24.72% Incorrect
Last Solution submitted on Jun 19, 2025

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers56

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!