I have a matrix that has a dimension of 200*59. I want to calculate the average of the first 6 rows for each column to get 1*59
I've written this loop
I am not sure if the loop is correct or not!
any help is appreciated