Closed d-chambers closed 8 years ago
This is due to the normalization vector being very near 0 (because large parts of the waveform have been set to 0) causing a near division by zero.
Tested several cases. The CC values above 1 always occurred when parts of either waveforms was all zeros, or nearly all 0s. The solution for now is to set any value in the correlation coefficient above 1 to 0.
This is due to the normalization vector being very near 0 (because large parts of the waveform have been set to 0) causing a near division by zero.