Hi everyone. I need some help to code this problem:
The data is 480x10 matrix(ret). I want to calculate the mean of each column from the past 120 elements of the same column
How can i do it with a loop and receive the results in a matrix 360x10.