Questions tagged [correlation]

Correlation or Cross-Correlation is a measure of similarity of two waveforms as a function of a time-lag applied to one of them.

Filter by
Sorted by
Tagged with
0
votes
1answer
2k views

Obtaining impulse response by means of cross-correlation between input and output

Having a system with an input (sound emitter) that is defined as a unit-variance white noise sequence, and I get the output (sound receiver) so I can measure cross-correlation functions between them, ...
0
votes
1answer
509 views

Question about correlation of two signals

I'm working on some practice examples and in one of them I'm asked to find the convolution and the correlation of some signal pairs given. I know that correlation , given two signals x(n),g(n), is ...
0
votes
1answer
191 views

Recovering a DSSS signal with poor clock synchronization

I've run a lot of simulations and it seems like DSSS is just as noise resistant as people say it is. Resistant from jamming and even it seems some fading and narrow-band interference. I'm doing this ...
0
votes
1answer
2k views

Find Preamble (pattern) in signal, using Corelation

I have a signal which always has the same preamble (4x 0xAA - 10101010...). I also have a signal with additive noise, and I want to find my preamble in that a noisy signal using corelation. U used ...
0
votes
1answer
155 views

Matching guitar signal with tablature, near real-time algorithms?

I'm looking for candidate algorithms that might work for a use-case comparable to Rocksmith's analysis system. To compare a clean electric guitar signal with a tablature reference. A higher latency ...
0
votes
1answer
1k views

Tied rank adjustment for Spearman Correlation

I have two 16 sample vectors, a and b as listed below: ...
0
votes
1answer
429 views

Correlated Noise

I have a vector of samples $Y[n]$. Then a fraction of delayed version of this vector added to itself: $$Y_\text{noisy}[n] = Y[n]+ aY[n-m]$$ The term $Y[n-m]$ considered as a correlated noise. How ...
0
votes
1answer
374 views

How do I calculate the eigenvalues of a covariance matrix which contains harmonic functions

I have read that $ce^{-\frac{\phi_i-\phi_j}{\rho}}$ is a harmonic function of the form $e^{-in\phi_i}$, and therefore it's eigenvalues are one of the Fourier components of $(|\phi_i-\phi_j|)$. My ...
0
votes
1answer
127 views

Can we decompose a correlated random variable into correlated plus uncorrelated?

Assume a random sequence $ Y_k = X_k \cdot H_k + W_k $ where $X_k$ is a deterministic quantity, $H_k$ is a correlated random sequence, $W_k$ is Additive White Gaussian random sequence. Can we ...
0
votes
5answers
800 views

Looking for an algorithm that computes "Similarity" between two signals

I'm new in this forum! ... and I'm not an expert in signal processing! ... So I hope to find help here:-) I was wondering if someone could point me to an algorithm/technique that is used to compare ...
0
votes
2answers
110 views

Extract amplitudes

I have two mixed signals like $A_1f(t) + A_2g(t)$, where $f(t)$ and $g(t)$ are sinusoidal. I want to extract the amplitude infos. Directly I can not get the amplitudes (or I don't know how to). What I ...
0
votes
1answer
334 views

Problems filtering image with prewitt

I'm trying to filter an image vertically to get the edges, in MATLAB, but I get very different results from convultion and correlation. CODE: ...
0
votes
1answer
2k views

Correlation between Sin and Square wave

I would like to know how $\frac T2$ came for time period in the image below.Because I think the frequncy is 1 so time period should be 1.Is that correct? or can anyone help me.. The article from ...
0
votes
4answers
719 views

Similarity between two Signals: cycle by cycle

I need to find the similarity between two signals, i.e., measured signal and the reference signal(e.g. a simple sinusoidal signal). What I mean by similarity is, if there is any decentralized glitch ...
0
votes
1answer
1k views

Cross-Correlation : Comparing two signals or finding the location of a target

I read across places that cross-correlation of two signal (a radar sending a signal and receiving it back) one can detect the location (distance) of a target from a point and that cross-correlation ...
0
votes
1answer
104 views

Timing synchronization in limited channel

I need measure timing of an signal that is send through a noise band limited channel (wireless). By measure timing, I mean measure as exactly as possible when the signal has arrived at the receiver. ...
0
votes
2answers
314 views

Minimum Samples Per Chip?

Is there a 'Nyquist Criteria' for the minimum samples per chip that are needed for a correlator? I've heard 2, but will 1 work? What are the implications of having less than the minimum (in the ...
0
votes
1answer
27 views

Y axis Component of Rxy in MATLAB

I calculated the $R_{xy}$ by cross-correlating $x(n)$ and $y(n)$. Now, in the MATLAB command window, I wish to construct the Y-axis component of $R_{xy}(n)$. I'm not sure how I'm going to do it. Is ...
0
votes
0answers
19 views

How can I generate X Axis componant in R_xy in MATLAB?

Let's say I have cross-correlated $x(n)$ and $y(n)$ and got the $R_{xy}(n)$. Now if I want to generate the x-axis component of $R_{xy}(n)$ in the command window of MATLAB. How can I do that? is there ...
0
votes
0answers
17 views

What is the calibration method of this stereo camera?

I have a stereo camera setup from "QuantifiCare" Company that specifies for 3D reconstructing image of a human face just by 3 images. Everything is working well but I like to know the method ...
0
votes
0answers
24 views

How to find segment with specific speed on the signal in comparison with reference signal?

How do I find a segment on the signal where the signal speed is 2 times the speed of the same segment on a reference signal? Which features describe this? On attached image can see "change of ...
0
votes
0answers
39 views

Auto/cross correlation for data set with multiple realizations

Context For an assignment, I need to find the correlation matrix of a dataset with 100 random variables and 1000 realizations for each. (It's a stock market example). Problem I don't understand how ...
0
votes
1answer
60 views

MATLAB: How to compute the similarity of two signals and get the correct consistency or coherence metric

I was wondering about the consistency metric. Generally, it allows us to deduce the parity or similarity between two signals, right? If so, if the probability is higher (from 0.5 to 1), does it means ...
0
votes
0answers
38 views

Estimating Correlation Matrices

I am trying to obtain the correlation matrices of two random signals. Both of them, $ X $ and $ Y $, are white Gaussian Noise, with unitary variance. However, they are correlated, with correlation ...
0
votes
0answers
20 views

Correlation metric for time series with non-constant proportionality

I'm looking for a robust metric to express the similarity between two time series having the same behavior, as simplified below. When one increases, the other increases (same for decreasing or being ...
0
votes
0answers
24 views

When is the Correlation Coefficient Ergodic

Given Wide Sense Stationary (WSS) processes X and Y that are ergodic to the mean and autocovariance. Under what conditions is the correlation coefficient ergodic to the mean? ie: $lim_{T->\infty} \...
0
votes
2answers
122 views

Calculating cross-correlation using Walsh-Hadamard transform

I am trying to implement MLS method of measuring impulse responses. There is an article describing the method: http://www.commsp.ee.ic.ac.uk/~mrt102/projects/mls.... As I understand, to get an impulse ...
0
votes
0answers
14 views

Calculate ACF in C++?

I would like to manually reproduce the method that authors of an article used in their research (DOI: 10.1038/s41598-017-02750-9 (Page 8. top)). It is mentioned as "ACF", so I wrote ...
0
votes
0answers
53 views

NaN values with correlation metrics

I am using the Peak to Correlation Energy (PCE) Metric to measure the similarity between two images using MATLAB. In some cases, the PCE value obtained is NaN. How can I solve this problem?
0
votes
0answers
21 views

Couting exact number of mutiplications in Separable filters with Zero Padding

I'm convolving an Image $I$ of dimension $2\times 3$ with a kernel of size $2 \times 2$ and counting the exact number of multiplications.My image and kernel are given as follows $$ I=\left[\begin{...
0
votes
0answers
51 views

Can i increase the SNR of the signal by increasing the processing gain by correlation?

If I am having a 13 bit pattern and sending it at IF frequency on the transmit side. On the receive side after IF conversion I am sending it to ADC. After digitizing the signal and removing the IF by ...
0
votes
0answers
57 views

Comparing mechanical signals with different length

I couldn't find any solution for this that would work for me I'm working in python. I have two similar signals that I can plot Force x Angle. (problem simplified) One plot (angle x force) has length ...
0
votes
1answer
36 views

How does Correlation for 1D Signals work?

On page 2 of the slide, I don't understand the example. Like $j$ and $s$ are both on the x-axis, what does j+s mean? The filter is $(f(−1), f(0), f(1)) = (−0.5, 0, 0.5)$. How can we use it? Could ...
0
votes
0answers
73 views

correlation matrix vs. correlation function?

Can someone help me understand the difference between a 1-dim autocorrelation function and a 2-dim autocorrelation matrix of a random process aka time series? My Leon-Garcia textbook defines CX(τ) and ...
0
votes
1answer
90 views

Correlations of matrix

I have a matrix of 10 column, each column has measurements at different times. I have a second matrix also of 10 columns, each consisting of measurements at different times. I want to carry out cross ...
0
votes
1answer
61 views

Determine reflections from received signal

I have a reference signal $r(t)$ and the correlation between that reference signal and the received signal : $C_{XR}(\tau)$. The signal I receive contains reflections on walls. I have to build a ...
0
votes
1answer
179 views

What is the explanation for the inverse FFT of a cross-correlated signal being shifted by some amount in the time domain?

I created two signals in the time domain: signal A which is a square wave, and signal B which is a right-angled triangle wave, as shown in the picture below. I took the FFT of these signals, ...
0
votes
1answer
225 views

Does this make sense for cross-correlation in frequency domain?

If I have a signal A at 2 kHz and signal B mixed at 2 kHz + 3kHz, and then i take the FFT of them both, and then cross-correlate them many times, the 3kHz peak should disappear? Since this peak is not ...
0
votes
0answers
53 views

Are there methods to measure how the change in one signal will affect another signal?

I have two distinct signals and I would like to compute their correlation. However, I think that just computing the crosscorrelation does not work here, since the signals are from different sources — ...
0
votes
0answers
88 views

Find repeating sequences in audio file

I have a long audio file (12+ hours). I know that there are some unknown small (2 minutes each or thereabout, it varies) repeating (not bit by bit: it is recorded with a mic) chunks in it, repeating ...
0
votes
1answer
239 views

Validating Jakes model in Rayleigh Fading channels

I am trying to validate the Jakes model by comparing the autocorrelation function given by $ \rho(\Delta t ) = J_{0}(2 \pi f_{d} \Delta t)$, where $ f_{d} $ is the maximum Doppler shift, $ J_{0} $ is ...
0
votes
0answers
42 views

How can i calculate a matrix of correlation?

I want to implement my own music algorithm detecting an angle of arrival of non-stationary signal and I need to make a matrix of correlation of this signal. I have problem because I don't know how to ...
0
votes
1answer
46 views

Can somebody explain SDF and MACE to me?

I can't find any information on SDF and MACE save for a vague exert in Kinser's Image Operators books. Therefore I am dumbfounded. I can't understand what they do and what's their role in composite ...
0
votes
0answers
532 views

What is the difference between using corrcoef to compare two signals by column, and as whole matrices?

I have two matrices, which represent acceleration readings of the same event from two seperate sensors, and I would like to calculate the correlation coefficients so that I may get a measure of how ...
0
votes
0answers
54 views

Co-prediction of signals

Is there any plausible method to estimate or predict one signal, on the basis of known value of another signal, provided the two signals bear a strong correlation? For instance, the audio amplitude ...
0
votes
2answers
86 views

How to interpret correlation angle from frequency domain

Since the coefficient of one frequency could be seen the length of the signal projects on that frequency basis. And the length is $$|a|\cos\theta= \frac{a\cdot b}{|b|} $$ If I divide the ...
0
votes
1answer
37 views

How we can show that 2 correlated videos are similar?

Can I tell that different versions of the same video are correlated to each other? and if so, how can I show this correlation? for example, high-quality and poor-quality versions of the same video. ...
0
votes
1answer
202 views

convolve to differentiate black and white colors

a figure for instance of size 500*500 has half above part with black and below half white should result in a white line where the white meets the black (something like a single line at line 250 with ...
0
votes
1answer
2k 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
0answers
42 views

How does correlation work in an image?

The discrete function for correlation over 2 dimensions is $$ C(x,y) = \sum\limits_{p=1}^{x_{res}} \sum\limits_{q=1}^{y_{res}} f(p,q)h(p+x, q+y)$$ where x,y is a coordinate in the image, f is the ...