Originally Posted by
Tweat Hi,
Sorry, I didn't explain myself very well.
I have to normalize the matrix data and my sample is 48 subjects (number of rows).
The result of the division (100/sum of the columns with 22 interval) must be multiplicated by the elements of the original matrix.
Thanks.
Not the neatest way of doing it but the following script might give you the sums you are looking for (unchecked):
Code:
a=rand(48,88);
ii=1:23;
rv=zeros(48,66);
for offset=0:65
rv(:,offset+1)=(sum(a(:,ii+offset)')');
end
.