How to make a script to calculate the sum described

1 Ansicht (letzte 30 Tage)
Geir
Geir am 8 Okt. 2013
Kommentiert: Jan am 8 Okt. 2013
100
i
i=1
[EDITED, Jan, formatted, please apply a proper formatting]

Antworten (1)

ES
ES am 8 Okt. 2013
sum(1:100)
or
100*(100+1)/2

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by