フィルターのクリア

Should i use xcov or xcorr?

12 ビュー (過去 30 日間)
Jennifer Davies
Jennifer Davies 2017 年 6 月 27 日
回答済み: Dhaniklal 2023 年 2 月 7 日
Hi
I'm trying to find the similarity in two signals, and the phase lag of at which the similarity is maximum. I'm unsure whether to use xcov or xcorr. I know that, practically, xcov() subtracts the mean from the input and and xcorr() does not. But I don't know which of these is most appropriate to use. Does anyone know of any good resource that can help me figure out which is most appropriate?
Thanks in advance Jen
  1 件のコメント
Adam
Adam 2017 年 6 月 27 日
It depends on your specific definitions I guess. If exact amplitude, including a non-zero centre is unimportant then use the one that subtracts out the mean, but if you want the signals to be considered different if one is not zero-centred whereas the other is then use xcorr

サインインしてコメントする。

回答 (1 件)

Dhaniklal
Dhaniklal 2023 年 2 月 7 日
Hi,
I understand that you are trying to figure out whether to use xcov and xcorr functions.
Please go through the following documentation to read more about use cases of xcov and xcorr functions.
Hope this helps!
Thanks,
Dhaniklal

カテゴリ

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