フィルターのクリア

Correlation of two signals

4 ビュー (過去 30 日間)
Ananthu S
Ananthu S 2017 年 1 月 15 日
回答済み: Image Analyst 2017 年 1 月 15 日
How can we perform the correlation of two signals in MATLAB? I know that it can be found using the 'xcorr' function. But in many examples found on the web, the final result of correlation is flipped using the 'fliplr' function. What is the purpose of that? Please help

回答 (1 件)

Image Analyst
Image Analyst 2017 年 1 月 15 日
If you flip the function left to right, then the result is a convolution, not a correlation.
Correlation tells you the sum of the product of the two signals. This will often be a maximum when the two signals are roughly the same shape and are aligned, though not necessarily - a few seconds of thought and you will easily think of some counter examples.

カテゴリ

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