Thanks for the replies.
Lets say my data set is test = {0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0}
and I want to correlate this with ideal = {1,1,1}
- the pulse I want to find.
If I correlate these two lists then I should get something like result = {0,0,0,0,0,0,1,2,3,2,1,0,0,0,0,0,0}
. But when I use ListCorrelate as above I actually get actual = {0,0,0,0,1,2,3,2,1,0,0,0,0,0,0,0,0}
Notice that the second data set is shifted in time.
My question is why do I get the time shift from the expected result and how do I fix it?
Thanks