This solution is outdated. To rescore this solution, sign in.
-
1 Comment
John D'Errico
on 30 Jun 2016
Of course, this solution use the formula from Carl Friedrich Gauss for the sum of the integers from 0 to n.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!