How to use XCORR Block to calculate the cross correlation?

5 ビュー (過去 30 日間)
Mahdiyar
Mahdiyar 2015 年 4 月 3 日
回答済み: Daniel Yang 2017 年 6 月 15 日
Hi Everyone
I have two sequences composed of 0 and 1. I need to calculate the correlation between these two sequences in simulink.
I know that I have to use XCorr and Buffer blocks. Tha schematic is attached. I have some question about it
1- I read about the Buffer block but I do not know how to use it in the sense of "Output Buffer size".
2- When I see the output of the XCORR block, it gives me different output that I do nnot understand that each of them relates to what. I have attached the output of XCORR
3- According to the graph, why the initial output is zero? it seems to have a delay.
Note that the length of sequences is 32.
Any help is appreciated.
Regards.
<<
>>

回答 (1 件)

Daniel Yang
Daniel Yang 2017 年 6 月 15 日
Hello, I also have this question. Specifically, why do the graphs of xcorr and the Cross Correlator block in simulink return different plots?
Thank you, Daniel

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by