xcorrb
Correlation (biased) between two complex vectors.
Namespace: dsp::fourier
Prototype
auto xcorrb(const Veccf &x, const Veccf &y=Veccf(), int m=-1)
Parameters
x | First vector |
y | Second vector (if not specified, the auto-correlation is computed) |
m | Number of delays to be computed (if negative, then take \(m=N\)). |
Returns
First vector: index of time lags \(n\) (that is \(0, 1, ..., N-1\)), second vector: \(c_n\).
Description
Computes (through FFT):