Community Profile

photo

hari


Last seen: 2 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer
  • Revival Level 1

View badges

Feeds

View by

Answered
I have a list of 120 elements in a column, and I need to sum each 12 elements and then sum together the next 12 so from the 120 values I will have 12 different sum values.
sum = 0; temp = 0; totalSum = []; for i = 1:length(c) sum = sum+c(i); temp = temp+1; if (temp == 12) ...

4 years ago | 0