JohnKGH
Civil/Environmental
- Jul 26, 2005
- 12
Hey guys,
This is the opposite of my last question. How do you find sums of consecutive array entries? I need them to be displayed however and therefore cannot use the sume function. By this I mean [4 5 6 7] = [9 11 13]
Ultimately I want to use diff(x).*(sums of y).
This is the opposite of my last question. How do you find sums of consecutive array entries? I need them to be displayed however and therefore cannot use the sume function. By this I mean [4 5 6 7] = [9 11 13]
Ultimately I want to use diff(x).*(sums of y).