How to make a script to calculate the sum described

1 次查看(过去 30 天)
100
i
i=1
[EDITED, Jan, formatted, please apply a proper formatting]

回答(1 个)

ES
ES 2013-10-8
sum(1:100)
or
100*(100+1)/2

类别

Help CenterFile Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by