d = lindemann1986centroid(cc)
cc | Lindemann cross-correlation. Dim: 1 x delay line length |
d | lindemann1986centroid in the range -1..1~ms |
lindemann1986centroid(cc) calculates the centroid for a given cross-correlation from the Lindemann model.
The centroid is computed by (see Lindemann (1986a), page 1613, eq. 22):
where M is half the length of the delay line \(-M,...,M\) .
W. Lindemann. Extension of a binaural cross-correlation model by contralateral inhibition. I. Simulation of lateralization for stationary signals. J. Acoust. Soc. Am., 80:1608-1622, 1986.