Autocovariance

버전 1.0.0.0 (1.62 KB) 작성자: Jacques Burrus
Computes the autocovariance of two columns vectors consistently with the var and cov functions.
다운로드 수: 1K
업데이트 날짜: 2012/3/29

라이선스 보기

autocov computes the autocovariance between two column vectors X and Y with same length N using the Fast Fourier Transform algorithm from 0 to N-2.

The resulting autocovariance column vector acv is given by the formula:

acv(p,1) = 1/(N-p) * \sum_{i=1}^{N}(X_{i} - X_bar) * (Y_{i+p} - Y_bar)

where X_bar and Y_bar are the mean estimates:

X_bar = 1/N * \sum_{i=1}^{N} X_{i}; Y_bar = 1/N * \sum_{i=1}^{N} Y_{i}

It satisfies the following identities:
1. variance consistency: if acv = autocov(X,X), then acv(1,1) = var(X)
2. covariance consistence: if acv = autocov(X,Y), then acv(1,1) = cov(X,Y)

인용 양식

Jacques Burrus (2024). Autocovariance (https://www.mathworks.com/matlabcentral/fileexchange/35915-autocovariance), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Adaptive Filters에 대해 자세히 알아보기
도움

받음: autocov.m

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0