Hi, I have a 11 x 3541 matrix. For each column I want subtract; row1 from row1 then,row1 from row 2 then, row2 from row 3 and so on. I have tried using a loop but it doesn't work.
for i= 0:12 mono_am = UVI_all_am(1+i,:) - UVI_all_am(i+1-i,:);end
Best Answer