# Questions tagged [cross-correlation]

The tag has no usage guidance.

303 questions
Filter by
Sorted by
Tagged with
126 views

### Time delay analysis in different binary sequences

I am extracting a property of a signal which I represent with either a 0 for absent or 1 for present. This property is extracted for each data point in a time series and in the end I am left with a ...
318 views

### Speech discrimination from animal sound

i am looking for discrimination of speech from animal sound if you take a 150ms frame of speech and bird as shown below, what feature can i extract from them so that i can effectively state the ...
372 views

### Noisy Signal auto/cross-correlation

I am trying to understand the basics of the cross/auto-correlation if the noisy signal $y(t)$ which is received from the channel at the receiver. Here at receiver we want to estimate the noise in the ...
7k views

### Phase Correlation - Poor Performance on Noisy/Blurred Images?

I have successfully tested 1D phase correlation algorithm to determine vertical shift between two synthetic images. When I moved to real images, however, it is not able to detect translation at all (...
189 views

### Fast cross correlation with limited range

I am measuring the phase shift between two pseudorandom signals using correlation ifft(A.conjugate()*B) and picking out the maximum). That works very well, but takes a lot of time. I roughly know ...
5k views

### Examples of Independent and uncorrelated data in real-life, and ways to measure/detect them

We always hear about this vector of data VS this other vector of data being independent from each other, or uncorrelated, etc, and while it is easy to come across the math regarding those two concepts,...
268 views

### ACF and PACF Confidence Levels for ARMA

I'm trying to figure out where exactly to draw the confidence levels for the autocorrleation function (ACF) and the partial autocorrelation function (PACF) for an ARMA model. For PACF I found that a ...
119 views

### Describing a time delay at a maximum for maxima and minima but tends to 0 elsewhere

I have two force-time signals obtained from a couple of force plates, corresponding to input/output signals for some system. Plotting the two together one of the first things I noticed was a time ...
494 views

### Ultrasound Signal Processing Methods

I am sending 6.6Vpp square wave across a narrow-band, 40 kHz Transmitter to a narrow-band, 40 kHz Receiver. I want to find a very accurate distance between the two (sub millimeter). My assumption so ...
1k views

### Time delay estimate and sampling frequency

This is an extention to my other question. My sampling frequency is only about 2x my tone frequency. I want to estimate time delay of arrival using this signal. I am generating the tone signal so I ...
694 views

### Upsampling signal for cross correlation

I am recording a 17khz signal at a sample freq of 44.1khz. I want to perform cross-correlation between the received and transmitted signals for calculating TDOA. But when I do xcorr, the results are ...
710 views

### Time delay estimation using ultrasound

I have a sound source that generates an ultrasonic pulse. I have two microphones seperated by a distance which are at a distance from the source. I want to find the time delay of arrival of the ...
1k views

### Matching two audio inputs (signals) [duplicate]

this is for an application in which passwords are stored in the form of audio inputs . In order to provide user access , the password(in audio form) will be matched with already stored password(audio ...
525 views

### Cross-correlation of time compressed 1D signal

If I ave 2 otherwise identical 1D signals that are phase shifted from each other then cross-correlation is a perfect way to identify the time lag between the 2 signals. Now supposing I double the ...
630 views

### Normalized-cross correlation operation

According to my question about separability of Gabor filters in this link, I want now to convolve my image with this separable filter by using the normalized cross correlation operation. Assume my <...
12k views

### Applications of Correlation in Signal Processing

There have been discussions on the differences between convolution and correlation, autocorrelation, cross-correlation, et al. In spite of looking at the visualizations, and understanding the formula ...
212 views

### how to calculate cross correlation of transient signal?

there. Let me have a noisy speech signal $y(k)$ as below. $$y(k) = x(k) + v(k)$$ where, $k$ is the discrete-time index, $x(k)$ is clean speech signal, $v(k)$ is a zero-mean random process, ...
4k views

### How can I compute a time-frequency cross-spectrum in MATLAB?

MATLAB has a spectrogram function for the time-frequency analysis of a single signal. It also has a cpsd function for estimating the cross-frequency spectrum for two signals. However, cpsd averages ...
3k views

### Signal compare - cross corelation in frequency domain matlab

I need compare two signals. Signals have simliar shapes but completely different values (as on picture): So I think cross corelation in frequency domain should gave me a number that shows me how the ...
734 views

4k views

### Finding periodicity of spikes, matlab

In my time series data, I have often spikes with regular periods. Sometimes, I get two or three different periodical spike sequences (two electrical noise sources), some with T1 seconds period, some ...
284 views

### How can I detect clicks/ticks in a wav file?

I have a long recording of a train (here is a small sample) there are a number of clicks as the wheels go over joins in the tracks. I would like to detect the location of these. Looking at the ...
1k views

### get amplitude difference via cross correlation?

im currently comparing 2 signals: A = some music B = A + noise and ive implemented cross correlation in frequency domain via complex multiplication to determine the time offset, which works ...
3k views

### Finding symmetric regions/patterns in image

I have a set of images representing the mean curvature of a human back surface. What I want to do is to "scan" the image for points which have similar, reflected "counterparts" in some other part of ...
847 views

### Is there any example or existing resource for using matlab in audio comparison (cross correlation)?

I am new to MATLAB. I have the audio files A and B, B is recorded using a mic while playing audio file A. The length of file B is different from A. A does not always start from 0 second. My program is ...
682 views

### determine background noise level via cross correlation

The setup: Sound is being played by the speaker on the iphone. At the same moment i record sound via the microphone. Obviously the speaker sound will be recorded in addition to all the external noise. ...
503 views

### Why is there a mismatch between normalized cross-correlation and perception for basic waveforms?

To my ears, sawtooth and square waves are more similar to each other than either one is to a triangle wave. However, when I compare their magnitude spectra against each other using normalized cross-...
168 views

### When might looking at rising edges perform better than cross-correlation?

A simple question as the title indicates: Let us assume that we have two signals, measured from two different sensors that are close together. (For this application, the sensors are measuring blood/...
2k views

### Finding Peaks in an Autocorrelation Function

I'm trying to find the period of a signal. I've used FFT to compute the autocorrelation of the signal. As can be seen from the autocorrelation function (plotted below) I obtained, there are 70 sample ...
2k views

### Directly compare subpixel shifts between two spectra — and get believable errors

I have two spectra of the same astronomical object. The essential question is this: How can I calculate the relative shift between these spectra and get an accurate error on that shift? Some more ...