Cross-Correlation Function Thecross-correlation function(XCF) measures the similarity between a time series and lagged versions of another time series as a function of the lag. Consider the time seriesy1,tandy2,
r= xcorr(x,y)returns thecross-correlationof two discrete-time sequences. Cross-correlation measures the similarity between a vectorxand shifted (lagged) copies of a vectoryas a function of the lag. Ifxandyhave different lengths, the function appends zeros to the end of the shorter vector so...
在地震学中,常常需要比较两列波的相似程度(重复地震探测常用),或两列波拟合程度(反演常用)。 要定量刻画这一需求,就需要计算两列波的互相关系数(Cross-Correlation, 简写为:CC)。 计算互相关系数的软件,代码…
在信号处理中,互相关(Cross-correlation)可以测量两个信号之间的相似性,通过得到滞后函数,寻找局部最大值得到信号间的相对位移: 左图两个正弦信号,信号之间存在一定延迟。通过计算两个信号间的互相关,寻找互相关的最大值,即可得到信号之间的位移值。 扩展到二维图像,通过二维的互相关,可以得到两幅图片在空间(X,Y)...
2-D cross-correlation or autocorrelation matrix, returned as a matrix. More About collapse all The 2-D cross-correlation of anM-by-Nmatrix,X, and aP-by-Qmatrix,H, is a matrix,C, of sizeM+P–1 byN+Q–1. Its elements are given by ...
Cross-correlation Syntax r = xcorr(x,y) r = xcorr(x) r = xcorr(___,maxlag) r = xcorr(___,scaleopt) [r,lags] = xcorr(___) Description r = xcorr( x, y) 返回两个离散时间序列x和y的互相关。 互相关测量x和y的移位(滞后)副本之间的相似性作为滞后的函数。 如果x和y具有不同的长度...
title('Autocorrelation function [6,5,2,1]'); figure(3); plot(-62:62,corr3(1:125));axis([-62,62,-1,1]); xlabel('\tau'); ylabel('R_{c}(\tau)'); title('Crosscorrelation function [6,1] [6,5,2,1]'); figure(4); plot(-62:62,corr4(1:125));axis([-62,62,-1,1]...
2 循环互相关(Circular Cross-Correlation)的定义和计算 二、源代码 function varargout = xiangguan(varargin) % XIANGGUAN M-file for xiangguan.fig % XIANGGUAN, by itself, creates a new XIANGGUAN or raises the existing % singleton*. % % H = XIANGGUAN returns the handle to a new XIANGGUAN or...
. Further, it is often necessary to estimate ensemble moments based on time averages because only a single realization of the random processes are available. A common estimate based onNsamples ofx(n)andy(n)is the deterministic cross-correlation sequence (also called the time-ambiguity function)...
(GUI), for a signal processing based on the Auditory Image Model [S. Bleeck et al., Acta Acustica united with Acustica, 90 (2004) 781-787], followed by the summary autocorrelation function (SACF) and the summary interaural cross-correlation function (SIACF) analyses, and the calculation ...