Quantcast
Channel: ARM Connected Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 6005

arm_correlate_f32 - Input Sequences Length Need to Match?

$
0
0

Hi,

 

A question on this function. The parameters to use it are:

 

[in]*pSrcApoints to the first input sequence.
[in]srcALenlength of the first input sequence.
[in]*pSrcBpoints to the second input sequence.
[in]srcBLenlength 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.


Viewing all articles
Browse latest Browse all 6005

Trending Articles