photo

Emmanuel


Last seen: 11 months 前 自 2024 起处于活动状态

Followers: 0   Following: 0

统计学

  • First Answer

查看徽章

Feeds

排序方式:

已回答
How can I solve this problem using for loop?
total = 0; x = [2,2,5,8]; n = length(x); for i =1:n-1 total = total + x(i)*x(i+1); end disp(total)

11 months 前 | 0