xcorrFD(x,y)

バージョン 1.1.0.0 (1.9 KB) 作成者: Dr. Erol Kalkan, P.E.
xcorrFD takes two discrete time signals as input and calculates cross-correlation and delay

ダウンロード 489 件

更新 2017/11/27

ライセンスの表示

xcorrFD takes two discrete time signals as input and calculates cross-correlation values and delay between two signals. The computation is performed in the frequency domain. The results of xcorrFD is validated against the MatLAB's xcorr function.
For cross-correlation in time domain see xcorrTD.

Syntax: [lags,ck,td] = xcorrFD(x,y)

Input:
x = input signal 1 (must be a Nx1 vector)
y = input signal 2 (must be a Nx1 vector)

Output:
lags = a vector of lags with a length of 2xN-1 (N = number of data points in signal x or y)
ck = cross-correlation values [(2N-1)x1 vector]
td = delay (i.e., number of lags) between two signals

Questions? Contact: ekalkan@usgs.gov

引用

Dr. Erol Kalkan, P.E. (2022). xcorrFD(x,y) (https://www.mathworks.com/matlabcentral/fileexchange/63353-xcorrfd-x-y), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!