from = 300; T = size(r.x,2); tot_corr = xcorr(sum(r.error,1),10,'coeff'); plot(tot_corr)