Fast Circular Cross Covariance

버전 1.0.0.0 (750 Bytes) 작성자: Ehsan Azar
Fast Circular Cross Covariance of two signals
다운로드 수: 1.8K
업데이트 날짜: 2006/8/18

라이선스 없음

%% CXCOV Circular Cross Covariance function estimates.
% CXCOV(a,b), where a and b are two signals of the same length, both
% periodic signals and real.
%%
%[lags,cc]=CXCOV(a,b) returns the length M-1 circular cross covariance
%sequence cc with corresponded lags.
%%
% The circular cross covariance is the normalized circular cross correlation function of
% two vectors with their means removed:
% c(k) = sum[a(n)-mean(a))*conj(b(n+k)-mean(b))]/[norm(a-mean(a))*norm(b-mean(b))];
% where vector b is shifted CIRCULARLY by k samples.
%%
% The function doesn't check the format of input vectors a and b!
%%
% For circular correlation and also the slower implementation of Cross Covariance
% between a and b look for CXCORR(a,b) (written by G. Levin, Apr. 26, 2004.) in
% http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectType=author&objectId=1093734
%%
% For Cross Covariance of real signals, the current method is about 30 times faster than
% the method suggested by Levin using For-loop. Simply cxcov(a,b)=ifft(fft(a).*fft(b(length(b):-1:1)))/(norm(a)*norm(b))
the devision is for normalization
%
% Author: Ehsan Azarnasab, Aug. 17, 2006.
%%

인용 양식

Ehsan Azar (2024). Fast Circular Cross Covariance (https://www.mathworks.com/matlabcentral/fileexchange/11997-fast-circular-cross-covariance), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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