-40
-20
0
20
40
0
0.2
0.4
0.6
0.8
lag
xcorr (peak at the lag)