How to make a script to calculate the sum described

1 view (last 30 days)
100
i
i=1
[EDITED, Jan, formatted, please apply a proper formatting]

Answers (1)

ES
ES on 8 Oct 2013
sum(1:100)
or
100*(100+1)/2

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!