photo

Emmanuel


Last seen: 6개월 전 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)

6개월 전 | 0