Questions tagged [cross-correlation]

The tag has no usage guidance.

340 questions
Filter by
Sorted by
Tagged with
25 views

The normalized cross-correlation of two signals

I wanted to calculate the normalized cross-correlation function of two signals. I use the command ...
47 views

Strange behavior in fixed-point FFT

This is a problem I encountered some time ago while doing my thesis, which still now, I am not sure to understand. By then, I was implementing the circular correlation in an FPGA using this Xilinx FFT ...
33 views

Variance of circular vector correlation

Say I have two zero-mean vectors, with a size of N and the translation between them is k. Say the image signal std is $\sigma_s$ and the noise std is given by $\sigma_n$. What is the variance of the ...
56 views

Comparing similarity of two simultaneously recorded EEGs in freq domain

I have two EEG signals that are simultaneously recorded during the night (sleep). Imagine one device recorded from channel F4 and the other from Fp2. Now I would like to check the similarity of these ...
92 views

SVD vs matched filter

Reading about singular value decomposition (SVD) in the context of signal processing applications, one can separate the signal from the noise into orthogonal subspaces. On the surface this sounds like ...
166 views

Fast calculation of normalization factor for normalized cross correlation

There has been a number of posts here I've browsed through that explain implementations of normalized cross-correlation in Python. One such implementation that is frequently cited is found below. <...
43 views

Interpreting the cross correlation results

I am new to this forum. I am just trying to understand how to calculate delay (in terms of samples) between two signals using cross-correlation function. I wrote a small Matlab code in order to ...
590 views

Why does the addition of noise improve coherence between two signals?

Taking a simple example of the coherence between two signals, each composed of two sinusoids of frequency 100 and 200 Hz, I expect the coherence to show two peaks in the spectrum located at precisely ...
47 views

Matlab: xcorr: Having trouble when I try to calculate delay between two sinusoids

I have a problem when I try to use Matlab built-in function for cross-correlation 'xcorr'. Background: I created two sinusoids, one of them delayed in time. I choose center frequencies of these ...
30 views

aperiodic auto correlation properties

I'm reading about PSC (primary synchronization code) in UMTS. It is a so-called Golay sequence. It is said it has a good aperiodic auto correlation properties. What does it mean (in terms of aperiodic)...
318 views

Calculating the bit period

I want to calculate the bit period in my RF packets that I transmit them with 50Kbaud (Symbol rate=bit rate in my case) , how can I calculate the bit period?
25 views

Spectral analysis of a cross correlation function [duplicate]

So it's widely known that the Cross Correlation of 2 signals helps us in figuring out the time delay in those signals by analyzing the peak of the correlation coefficient in the time domain. For ...
60 views

Probability of similarity for two random white noises

I'm looking for the method to calculate theoretical similarity of two random noises $x$ and $y$ with mean $0$ and standard deviation $1$, I've got also $12500$ samples of signal, sampled $2.5$ Ga/s. ...
40 views

Cross-correlation with SDPSK modulation

I'm trying to detect a sync word in a signal using Symmetrical Differential PSK (bit 0 = +90° phase, bit 1 = -90° phase). Given the signal is encoded in the phase difference between two symbols, the ...
138 views

41 views

38 views

Synchronize device to audio stream - Approach

I am working on a device which's actions should be synchronized to the audio played. The audio stream is known in beforehand and can be altered to contain signals for the synchronization. But the ...
105 views

Pixel Wise Write into a Video File in MATLAB

A video file (in .ptw format) is read in MATLAB in the form of a 3 dimensional matrix (a structured format). My aim is to process the video in time domain on each coordinate pixel individually and ...
285 views

Reliability of normalized cross-correlation with high lags

Say you have two signals with 100 data points in each signal. Then there are 20 time lags where the computation of the normalized cross-correlation between those signals only considers 10 or less ...