Questions tagged [cross-correlation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
35 views

Is there any way to align temporally two signals in spectrogram?

I am keen to know that If I have two signals say : Farend_signal (y[n]) and Nearend_signal (x[n]) and x[n] also contains an echo of y[n] with some delay. Is there any technique to align these two ...
0
votes
1answer
15 views

How to run Welch’s method on cross-spectral density

I have a multivariate time series and I’m trying to figure out the cross spectral density of all pairs of variables efficiently. I’m unsure of how to implement Welch’s method in this context. Do I ...
0
votes
1answer
59 views

Is XCOV more accurate than XCORR to compute the cross-correlation of signals with variable (non-zero) mean values?

I have to compute the cross-correlation between two transient signals, which could be decomposed into a trend (with non-zero mean value) + noise. In particular I am interested in the max of the cross-...
-1
votes
0answers
16 views

Why the circular cross correlation values between two different images is higher than its values between an image and the same image?

I tried to perform circular cross correlation between two images using cxcorr_fft.m downloaded from https://www.mathworks.com/matlabcentral/fileexchange/43967-circular-cross-correlation-using-fft ...
-1
votes
0answers
22 views

How can I calculate the circular cross correlation between two images with matlab?

I found a Matlab function that calculates the circular cross correlation between two sequences How can I calculate the circular cross correlation between two images? https://www.mathworks.com/...
0
votes
1answer
44 views

Cross-correlation of two signals

I want to find the direction of a sound source in 2D space. I use two microphones and one sound source for that. I have recorded audio data into two arrays. When a sound is detected, it starts to ...
1
vote
1answer
29 views

Map time/scene differences between two similar videos

Goal: Given two videos that are episodes from series but in different format (one Bluray/one TV for example), map the time differences between the two (which scenes are not in one of the two) and be ...
1
vote
0answers
25 views

Is it possible to normalize an un-normalized cross-correlation vector after computation

I have a C++ code that computes cross-correlation for a given 2 vectors as input. It doesn't have an implicit normalization or normalized implementation of cross-correlation. But I would prefer a ...
1
vote
1answer
53 views

CWT at low scales: PyWavelets vs Scipy

Low scales are arguably the most challenging to implement due to limitations in discretized representations. Detailed comparison here; the principal difference is in how the two handle wavelets at ...
1
vote
1answer
30 views

Finding delay where squared error between signal and data is minimal

I have a set of points which correspond to part of a known signal. What I want to do is estimate the delay between the set of points and the known signal. In this case, I don't think cross ...
1
vote
1answer
69 views

Produce musical signal from instantaneous frequency

I'm implementing the Yin Algorithm in Python so as to extract the pitch of my voice when whistling or humming. My goal is to produce the Gate (Envelop Control) and CV (Pitch Control) signals which can ...
0
votes
0answers
46 views

How to use cross-correlation to verify speech data and determine delay

I have been experimenting with cross-correlation function to verify the presence of speech in a recorded file wrt a source file. I tried the following in Matlab: <...
1
vote
1answer
90 views

Fourier Transforms, Convolution, Cross-correlation: what is their physical unit exactly?

Let us assume we are talking about real, deterministic, electrical signals $x(t)$ and $y(t)$ (magnitude in Volts). There are different kind of Fourier Transforms. I made a table to summarize: NB: By ...
0
votes
1answer
76 views

Proving the upper bound of cross correlation

I am reading about cross-correlation from this document and equation (5) states that The maximum value of the crosscorrelation is not always when the shift equals zero; however, we can prove the ...
1
vote
1answer
53 views

Convolution and Cross Correlation Blackbox

Suppose I was handed a blackbox that I know is either a Convolution filter or Cross-Correlation filter, and my job is to find out which it is. My idea is to pretend that it's Cross-Correlation and ...
1
vote
1answer
51 views

GCC-PHAT always peaks at zero when estimating delay offset

My question is that when I used gcc-phat to estimate delay between two audio signals, it always returns zero offset. However normal cross correlation Xcorr gives a good result. I don't know the reason....
0
votes
0answers
24 views

The normalized cross-correlation of two signals

I wanted to calculate the normalized cross-correlation function of two signals. I use the command ...
2
votes
0answers
36 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 ...
1
vote
1answer
75 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 ...
2
votes
0answers
94 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. <...
2
votes
1answer
39 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 ...
1
vote
2answers
44 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 ...
0
votes
1answer
34 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 ...
0
votes
0answers
26 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)...
0
votes
1answer
32 views

Having Problem about DownConversion

I hope, you are doing well. I want to ask question about baseband conversion. Background: I generated two AM signals in MATLAB, which one of them is shifted in time. I multiply the signals with $\cos(...
0
votes
1answer
50 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?
0
votes
1answer
23 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 ...
0
votes
1answer
32 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 ...
0
votes
0answers
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. ...
0
votes
1answer
59 views

Get the lag of a signal with respect to the other with cross correlation

I have 2 vector of length 20 each. The first 15 entries of $a$ are exactly the same as the last 15 entries of $b$. There is random noise in the 5 last entries of $a$ as well as the 5 first entries of $...
1
vote
0answers
26 views

Instantaneous frequency, PLLs, frequency mixing, cross-correlation and the cross-correlation matrix

This is as much a request for comment and critique as anything else. I am looking at tracking how a system perturbs an input that is a (real) sinoid of varying frequency. ...
0
votes
0answers
7 views

Clipping cross correlation peak range in noisy signal

The result of a cross-correlating a signal of deltas (period N) with a signal of white noise that's containing a periodic signal (of period N, Length and Position) is plotted in the image. I want to ...
0
votes
2answers
38 views

Cross Correlation of output with input is equivalent to impulse response of a large bandwidth input (LTI System)?

What is the practical way to found the impulse response of a system ? As impulse function has a very large amplitude at zero time (analog signal). So the cross corelation of output of a large ...
1
vote
1answer
34 views

Correlation of discrete time periodic sequences

So I was reading this textbook - Digital Signal Processing by Proakis and Manolakis. The authors define the cross-correlation operation for 2 energy signals $x(n)$ and $y(n)$ in section 2.6.1 as: $$ ...
0
votes
2answers
55 views

Why Convolve instead of Cross-Correlate for Detection of Known Signal?

I am reading a journal on optimal signal detection by mobile sensor. It is mentioned: How should we plan to robots’ motion in order to maximize the detection probability? Assuming the source emits ...
1
vote
2answers
162 views

Cross correlation and cross power spectrum for signal + noise

Quick question about my understanding of cross correlations and cross spectral densities. Let $C_{ab}$ be the cross correlation between the signals $a$ and $b$, i.e., $C_{ab}(\tau) = \langle a(t)b(t+\...
1
vote
0answers
22 views

Increasing samples per symbol degrades correlation between signals

I am trying to implement a simple pseudo-noise (PN) ranging simulation. I have used this GNU Radio example, and I have adapted it a bit to suit my needs. Here is a screenshot of my flowchart: The ...
0
votes
1answer
30 views

CDMA scheme that preserves constant envelope (NRZ/ASK shape)

(This is a followup question to Is this a "valid" CDMA modulation?) Is it possible to find a CDMA scheme in which the receiver can only have a simple slicer? In other words, for the ...
0
votes
1answer
40 views

Is this a “valid” CDMA modulation?

I am banging my head against (specific aspects of) CDMA for a few days. At the basic level I am confused about the interrelation between implementations that are modeled as mixing and fully digital ...
0
votes
1answer
71 views

Calculating PSD, Cross PSD by using FFT outputs

I am having the FFT results of two distinct voice signals. Let's say the FFT results of these two signals are of the form (a+ib) and (c+id). Now, I want to calculate the PSD of each signal and also ...
0
votes
1answer
42 views

Calculating Cross Power Spectral density between two complex signals

I have a small misunderstanding of cross power spectral density between two complex signals. I know that it is the Fourier transform of cross correlation between two signals. Let's say the complex ...
0
votes
0answers
67 views

pointwise cross-correlation, finding offset in same signals

Problem: I want to find the correlation between two signals from point to point. That means that if they share y values then I want to know the x offset between them. This is what I want in ...
0
votes
1answer
61 views

How to find correlation between two signals regarding peaks?

In a super-resolution task, I try to predict the higher frequencies of a signal. X low-resolution (lr) is my input and Y high-resolution (hr) is the target. Where X contains only frequencies till 2 ...
-1
votes
1answer
55 views

Why Cross-correlation work better than Generalized Cross-correlation GCC-PHAT in MATLAB?

Fs = 192000; t = 0:1/Fs:(0.01-(1/Fs)); F1 = 10000; x = 1*sin(2*pi*t*F1); nSamplesGausswin = length(t); w = (gausswin(nSamplesGausswin))'; s = w .* x; this is ...
3
votes
2answers
238 views

Convolution v.s. Cross Correlation in Digital Image Processing

I understand that from mathematical point of view, only difference between Convolution and Cross Correlation is that Convolution is commutative, while Cross Correlation is not. In many articles ...
0
votes
0answers
87 views

Why are the Fourier transforms of autocorrelation and cross-correlation different?

I'm almost definitely misunderstanding this, but as far as I can tell we can equate the Fourier transform of the auto-correlation function $R_{xx}(\tau)$ with power spectral density (PSD) like so: $\...
1
vote
1answer
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 ...
0
votes
0answers
20 views

What happens to crosscorrelation of two noise generator if one of them were to be inverted

I have two noise generator u1 and u2 and their crosscorrelation is given, what will happen to this crosscorrelation if u2 or u1 were to be inverted?
1
vote
0answers
51 views

How to extract information about each constituent 'wave' of a signal?

I have a vector containing wind speeds sampled at 1Hz over ten minutes. I have applied a lowpass filter of 0.25Hz to get only the wind speeds I am interested in. I now want to use MATLAB to ...
0
votes
1answer
37 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 ...

1
2 3 4 5
7