Hi All,
I'm trying to perform a 'moving accumulation' (the best descriptor I can think of at the moment). I think similar to '3dcalc -accumulate' but I want to do this discretely. For example, I would like to sum every two values along time. And repeat the calculation for all 3D. In matlab, the most simple, equivalent command I could think of for a single timeseries was (timeseries of 190 points):
>> sum(reshape(timeseries,2,95))
I read through the 3dcalc documentation and could not clearly see how this could be done. Any guidance or help with this would be greatly appreciated. Thank you!
Cheers,
Edwin