Hello,
I have a matrix M of size 2880×501 containing 2880 rows. I want to select the first eight rows and all columns [that is, (1:8,:) ], add them and store the resulting row vector(1×501) in a variable 'out'. Then select the next 8 rows, add them and store the resulting row vector(again 1×501) into above variable 'out' and so on….
Finally, I shall have 360 combinations (of 8 rows each) and all these values should be stored in a single variable as
out(360x501)
Please help me achieve this.
Best Answer