Abstract:
A method including correlating a code having a first offset with a signal to produce a first correlation result; correlating the code having a second offset with the signal to produce a second correlation result; determining a cost function using the first correlation result and the second correlation result; and adjusting the first offset and the second offset in dependence upon the cost function, wherein the cost function uses a first weighting for the first correlation result and a second, different weighting for the second correlation result.