1,388 views (last 30 days)

Stalin Samuel
on 25 Nov 2015

Edited: Stephen Cobeldick
on 21 Dec 2018

x = [1, 23, 43, 72, 87, 56, 98, 33] ;

y = 0;

for n = 1:length(x)

y = y + x(n);

end

Sign in to answer this question.

Opportunities for recent engineering grads.

Apply Today
## 0 Comments

Sign in to comment.