Hi,
A question on this function. The parameters to use it are:
[in] | *pSrcA | points to the first input sequence. |
[in] | srcALen | length of the first input sequence. |
[in] | *pSrcB | points to the second input sequence. |
[in] | srcBLen | length of the second input sequence. |
My questions on this:
1 - Could the first input sequence *pSrcA be the ADC sampled signal? (Because of the 20x sampling rate, the input sample contains multiple occurrences of the frequency for correlation)
2 - Is the second input sequence *pSrcB to be the reference signal that is to be correlated?
3 - Does it matter they are of different lengths? For example, if #2 above is true, could *pSrcB be a sample buffer of the desired frequency, whose amplitude could be different, and equal to just 1 period of the frequency of interest?
4 - The destination buffer *pDst contains a vector (array) set that is...what?
Thank you for answering these questions.