Calculating FFT Correlation Coefficient
问题 I would like to calculate the correlation coefficient of 2 sound samples using AForge 2.2.5 . I've read from here the formula to calculate Cross Correlation. And here I've read about the formula to calculate the correlation coefficient. This is currently what I have: Prior to calling CrossCorrelation(), FFT has been performed. static Complex[] CrossCorrelation(Complex[] ffta, Complex[] fftb) { var conj = ffta.Select(i => new Complex(i.Re, -i.Im)).ToArray(); for (int a = 0; a < conj.Length; a+