ni.com checkout is currently experiencing issues.
Support teams are actively working on the resolution.
ni.com checkout is currently experiencing issues.
Support teams are actively working on the resolution.
Overview
This example uses cross correlation to determine the sample delay between two signals that are identical but have been shifted.
Description
This examples uses cross correlation to determine the sample delay between two signals that are identical but have been shifted. You can see more information in the example code.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
What might be the maximum size of the signals? Say, 8 or more million samples each?
This example can be improved by making the "Cross Correlation" plot be more useful. Notice how in the example provided the x-axis on the plot is not well labelled and we are forced to take the number shown on the "Sample Delay" indicator as being absolutely right. Look at the modified version I provided which shows the correct output length of the Rxx(n) operation as well as the correct peak on the graph at index 15.
This is a lot more useful. Please inspect the graph below. I hope it helps someone out there.
-Daniel
Hello Denn_Mann and thank you for sharing. Please your picture attached is not visible. I mean I can not see or download it. Can you please actualise it ?
Thank you
IHAD
Denn_Mann a écrit:
This example can be improved by making the "Cross Correlation" plot be more useful. Notice how in the example provided the x-axis on the plot is not well labelled and we are forced to take the number shown on the "Sample Delay" indicator as being absolutely right. Look at the modified version I provided which shows the correct output length of the Rxx(n) operation as well as the correct peak on the graph at index 15.
This is a lot more useful. Please inspect the graph below. I hope it helps someone out there.
-Daniel
Thank Doug_L._Bear you for sharing very helpful.