People who code: we want your input. Take the Survey

Questions tagged [cross-correlation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

The normalized cross-correlation of two signals

I wanted to calculate the normalized cross-correlation function of two signals. I use the command ...
0
votes
0answers
31 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
49 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
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 ...
0
votes
0answers
63 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
2answers
111 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 ...
0
votes
1answer
59 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
0answers
163 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: $\...
0
votes
0answers
21 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?
0
votes
1answer
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 ...
0
votes
0answers
394 views

Matlab normxcorr for 1D signals

I am very surprised not to find a version of normxcorr2 for 1D signals in Matlab ! I implemented something like that by hand (with 2 for loops, and normalizing the template as well as the window under ...
0
votes
2answers
42 views

Detecting multi-path propagation when one acoustic signal is dominant

I am sending an acoustic signal from a source to a receiver where there are limited number of paths the signal can travel. I want to detect if there has been multipath propagation or not when one path ...
0
votes
0answers
22 views

match a pattern in a stream of bits

I feel my question is somewhat related to this, but I'm not sure how to do what I want. I get transmissions of ~1000 bits at a time, which may be corrupted by noise. To try and infer data from ...
0
votes
0answers
76 views

Finding recorded sub-signal in the original audio signal

I have the original record of a song, and some fragment of the same song recorded by a microphone. I need to find the time where the fragment is appearing in the original. I have tried to use cross-...
0
votes
1answer
85 views

How to group similar patterns together that are shifted along the x axis?

I have a set of time series plots that are shifted along the x-axis. I am looking for an algorithm using which I can group them together. My end goal is to average them. While reviewing the ...
0
votes
0answers
400 views

Cross Correlation as Noise Reduction, is this possible?

If I have two sensor measuring the same signal but from two different locations from the source, and I get two different readings of the signal, each with slightly different noise. Is there a way to ...
0
votes
0answers
25 views

DOA estimation of moving, radiating source in the near-field with nonuniform Doppler shifting

I am trying to estimate the DOA of a radiating source using two passive sensors. In the case of a stationary source, I find the lag $k$ of the maximum in the sample cross-covariance sequence $E \...
0
votes
1answer
72 views

What is the physical meaning of the cross-spectrum of two signals measured at two locations and different moment?

I am working with steady state pressure field measurement where sound pressure at multiple locations in the field needs to be measured. In my case, more than one microphone existing in the field at ...
0
votes
0answers
135 views

Find a simple sine wave buried within noise, FFT or cross-correlation?

My recorded signal x = s + v, where s = A*sin(ωt) and v = noise. SNR < 1 or ~ 1. So the sine wave is buried under a lot of noise. I need to compare the relative amplitudes of s for each recording ...
0
votes
0answers
295 views

Preamble detection using cross-correlation

I am generating a preamble with a sequence of [1 -1 1 -1 1 -1....] and spread with a barker-11 sequence. Now, the transmitted signal becomes [B(Barker), -B(Inverse of Barker), B, -B,....]. In channel, ...
0
votes
1answer
52 views

Why is the correlation of two random markov chains so large?

A very simple python code shows that the correlation coefficient and spearmann rank between two datasets of uniform random numbers drops proportionally to the square root of the number of points in ...
0
votes
0answers
389 views

PHAT filtering for cross-correlation yields wrong results while simple cross-correlation does OK (Python)

I work with two signals, the second being perfectly delayed and attenuated, with no reverberation. I implemented cross-correlation algorithm, which yields me these results: Here is my code for these ...
0
votes
2answers
90 views

audio signal time delay estimation(TDE) in indiviual and separate mics

common TDE problems algorithms(such as GCC) often require audio signals in different mics concurrently, however, is it possible to estimate audio signal time of arrivals(ToA) in different mics ...
0
votes
1answer
1k views

Cross Correlation in Java (Android) Using FFT (Frequency Domain Convolution / Correlation)

I want to implement cross-correlation with the start-symbol and the signal using FFT. I zero-pad both signals to length N = x.len + y.len -1 Using the convolution theorem: ...
0
votes
1answer
173 views

Calculation of cross-correlation of a system with noise

Having the following system: I'd like to know how to obtain the cross-correlation between$\ w(n) $ and$\ y(n) $ having the following conditions: $\ w(n) $ is a zero-mean white noise with power$\ P_w ...
0
votes
0answers
476 views

Wiener filter yielding negative MSE (and MMSE)

I implement a Wiener filter using the following code ...
0
votes
1answer
1k views

Angle of arrival (AOA) estimation using FMCW radar using MUSIC algorithm

I am working with FMCW phased array radar with only upchirps. The range doppler matrix is obtained using the two dimensional fast Fourier transform on multiple chirps. I want to obtain the angular ...
0
votes
1answer
216 views

How to use MATLAB's $\tt xcorr$ to find index of a section inside a whole recording?

Trying to find the index offset of a short section of an audio I have taken out of my recording with cross-correlation, but this method sometimes succeeds finding the index of the short section ...
0
votes
1answer
517 views

Confusion with data after cross correlation

Surely this question has been answered before in parts but I cannot find one solid answer. Ultimately I am trying to calculate the audio delay between two signals I am recording on USB microphones. ...
0
votes
0answers
501 views

Problem in hardware implementation of cross correlation without xcorr

Sorry for any thing silly! Matlab uses the built in function called 'xcorr' to find correlation of two signals.In VHDL xcorr is not defined then correlation can be written using for loop ...
0
votes
0answers
56 views

filter out an expected but not regular signal

I am stuck with a case where I need to get rid of a portion of sinusoidal signal that suddenly appears in my main signal (sine wave). my total signal will look like: $ s(n) = \begin{cases} A\sin(\...
0
votes
1answer
250 views

Auto/cross correlation of a cosine in the context of an adaptive beamformer

I am currently reading chapter 13 of 'Adaptive Signal Processing' by Widrow and Stearns, so if anyone happens to have a copy of the book to hand it could be helpful. I am reading the chapter on "...
0
votes
0answers
2k views

Why Normalized Cross Correlation Score of different templates is high?

I am using OpenCv's built in template matching function to search for an object in image. I am using Normalized Cross Correlation Method.The function is returning a value which I think indication of ...
0
votes
1answer
88 views

Avoid saturated pixels in cross-correlation computation

I am doing template maching using Normalized Cross-Correlation for measuring similarity between template and image. However, some images from my dataset contain saturated pixels (overshoot) which ...
0
votes
0answers
127 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 ...
0
votes
0answers
859 views

Similarity of signals

I have a question concerning methods to find different aspects of "similarity" of signals. So, first, I'd like to characterize the signals to be dealt with: We have a number of close to rectangular ...
-1
votes
3answers
293 views

The explanation of $|R_{XY}(\tau)| \le \sqrt{R_{XX}(0)R_{YY}(0)}$

If i said the explanation of $|R_{XX}(\tau)| \le R_{XX}(0)$ is that in the time domain,any signal wave are the same as itself when it doesn't shift.Then what is the explanation of $|R_{XY}(\tau)| \le ...
-1
votes
2answers
1k views

How to calculate Time Delay Estimation?

I have 2 data files, which links are attached below: Transmitted data Received data Those binary data are read by this MATLAB code: %% EDIT: clear all; close all; format long; ...
-1
votes
1answer
76 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 ...
-1
votes
1answer
474 views

Synchronizing 2 seperate speech audio signals

I have two speech signals: one with a man reading a passage, and one with a woman reading the same passage. I want to synchronize these signals so that, for each word, their readings line up. The ...
-1
votes
1answer
92 views

How to calculate the variation of delay?

I have 1 transmitted signal transmits to the receiver. Every time transmit, I collect data from the receiver, I use the transmitted which I just transmitted and received data, correlate them, then I ...
-1
votes
1answer
1k views

Correlation : Cross correlation why we need to multiply the samples

I understand what books states about cross-correlation of signals and their mathematical representation: For continuous functions f and g, the cross-correlation is defined as: $(f \star g)(\tau)\ \...
-1
votes
1answer
125 views

phase amplitude transform as a solution to reverberation

I am trying to use generalized cross correlation with phase transform (GCC_PHAT) on some audio processing indoor, with the existence of low noise. I ve read here that by canceling the magnitude factor,...

1
3 4 5 6
7