Skip to content

xcov

datafun · scripts/datafun/xcov.m

: c = xcov (x)
: c = xcov (x, y)
: c = xcov (…, maxlag)
: c = xcov (…, scaleopt)
: [c, lags] = xcov (…)

Cross-covariance and autocovariance (MATLAB-compatible).

Equivalent to xcorr after removing the mean from each series. Scale options match xcorr: "none", "biased", "unbiased", "normalized" / "coeff".

GitLab #393.