Skip to main content

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.

52 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
132 views

Emergence - what constitutes a minimally coherent source that "just begins" to produce stationary interference patterns?

A superposition of two signals with different frequencies will never produce visible (i.e. stationary) interference patterns. Such waveforms will produce spatiotemporal beat patterns, but they rapidly ...
srhslvmn's user avatar
  • 131
2 votes
0 answers
41 views

Average time-domain signal power from correlated Fourier transforms

Suppose I have real-valued continuous-time sequences $x_1(t), x_2(t), x_3(t)$ with Fourier transforms $X_1(\omega), X_2(\omega), X_3(\omega)$. I know that $X_3(\omega)=H(\omega)( aX_1(\omega)+bX_2(\...
Halleff's user avatar
  • 347
2 votes
0 answers
214 views

Ambiguity function volume

I find myself confused how two properties of the ambiguity function relate to one another. The properties in question are (presented here from wikipedia, but similar formulas can be found in books by ...
Narrava's user avatar
  • 21
2 votes
0 answers
78 views

Solving nonlinear Fourier relation

I'm trying to solve the following nonlinear cross-correlation problem for the time-domain signal $f(t)$: $S(\omega) = \overline{\mathcal{F}\left[f(t)\right]} \mathcal{F}\left[f^n(t)\right]$ with $n&...
Novgorod's user avatar
  • 121
2 votes
2 answers
586 views

Comparing two small audio files (e.g., hand clap) Android

Dears, I am new in signal processing and I am dealing with an Android application that should do some audio files (having the same "small" duration) comparison in real time. My main focus is ...
Newdevos's user avatar
1 vote
0 answers
86 views

second order cross correlation

I have two signal sequences $u$ and $y$, where the former is the input to a system and the latter is the output of the same system. I would like to find second-order correlation between the two ...
Neuling's user avatar
  • 103
1 vote
0 answers
37 views

Could the conjugate derivatives of two independent random signals be uncorrelated?

Suppose there are two independent signals, $s(t-\tau)$ and $n(t)$, and they are doubtly uncorrelated so that $\mathbb{E}${$s(t-\tau)\times n(t)$}=0. I wonder if the equation $\mathbb{E}${$\frac{\...
Loco Citato's user avatar
1 vote
0 answers
273 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 ...
j03y_'s user avatar
  • 111
1 vote
0 answers
242 views

Find Syncword (pattern) in signal, using Correlation

I have a signal which always has the same syncword ([93 0b 51 de] in hexa). I also have a signal with additive noise(attacing it, and I want to find my syncword in that a noisy signal using corelation(...
Ryan's user avatar
  • 11
1 vote
0 answers
181 views

How to find if the signals are in sync or out of sync with each other?

Considering these are two signals over time, black and red.Following are some of the properties Every Second a new data point is added over time . There is no control on the generation of the ...
Rai Bose's user avatar
1 vote
0 answers
57 views

Detect orthogonal sequence with fading

For a set of $N$ orthogonal sequences $\textbf{A}^i = \{a_1^i,a_2^i,...,a_M^i\}, i =1 ..N$, the detection of these sequences can be done by calculating the inner product (dot product) of receive ...
Rokai's user avatar
  • 63
1 vote
0 answers
69 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 ...
Mak Dolla's user avatar
1 vote
0 answers
99 views

Pearson correlation coefficient vs mutual information

I recently computed both the pearson coefficient and the mutual information of two time series as well as the corresponding error bars, and what I find out in the end is a significant level of ...
Johncowk's user avatar
  • 141
1 vote
0 answers
140 views

Time delay estimation of signals increasingly decorrelated

The problem may be summarized as follows: I have a stochastic signals and I want to measure an increasing delay, as depicted in the following picture. The picture represents the signal as it is being ...
LDPC's user avatar
  • 195
1 vote
1 answer
251 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 ...
kav's user avatar
  • 11
1 vote
0 answers
72 views

Correlation between a lowfrequent and a fast signal

I need to evaluate the correlation between some measured signals. Those signals are for example current, temperatures at various points, vehicle speed and torque from an electric motor in a vehicle. I ...
chris42's user avatar
  • 11
1 vote
0 answers
61 views

Pearson correlation of neural responses with it's linear estimation

I am trying to understand the following fact from this article (page 13): How can single neurons predict behaviour Suppose I have a linear estimation of a stimulus: $ \hat{s} = \mathbf{w}^T(\mathbf{r}...
user135172's user avatar
1 vote
0 answers
103 views

Measuring typical seperation between patches using 2D Fourier Transform

I need to extract information about the typical distance between the black patches in an image like the one I attached here. Typical distance would be the the most frequent separation between two ...
Ohm's user avatar
  • 133
1 vote
0 answers
80 views

improve delay detection between two signals

Hi there I'm trying to measure time delay of one percussive event recorded by two contact mikes on a glass surface. I decided to check the cross correlation (via FFT) and detect the index of the max ...
Jestern Alberto Novello's user avatar
1 vote
0 answers
2k views

Calculation of the correlation of two sinusoidals

First of all I apologize for the long question. I am working with a 3-axis accelerometer and a 3-axis gyroscope and I need to calculate the correlation between the different signals (acceleration in x,...
strontivm's user avatar
1 vote
0 answers
209 views

Evaluating auto correlation strength (Gamma)

I'm working on Cognitive Radio in TV Band Spectrum. I need to sense the presence of signal in a particular spectrum. I have to sample the incoming signal (say 1000 samples) and I have to find the ...
Dinesh's user avatar
  • 11
1 vote
1 answer
122 views

Plotting the real or absolute of correlation?

I had two vectors of data and I computed their correlation using corr(f,g) = ifft( fft(f) .* conj(fft(g)) ) / cov(f,g). I cannot figure out whether to use the real ...
newToDSP's user avatar
1 vote
1 answer
116 views

What level of correlation coefficient suggests correlation?

In Python (and Numpy), I recently did:- a = np.random.randint(0,256,1000) b = np.random.randint(0,256,1000) and when I calculate the correlation coefficient $r$ ...
Paul Uszak's user avatar
0 votes
0 answers
37 views

Cross-quantilogram method

What is this method in general? What is the main difference between the quantile cross-spectrum (QS) approach developed by Baruník and Kley (2019) and the cross-correlation function (QS) developed by ...
gurbuz's user avatar
  • 1
0 votes
0 answers
36 views

Template Matching non-rectangular template in non-linear order

Question Is there an existing algorithm that does cross correlation with two images, including a weight image? In template matching, when should I prefer the sum of absolute errors vs cross ...
Jinyoung Choi's user avatar
0 votes
0 answers
27 views

Model validation- comparing signals

Let's say I am trying to validate a model. I have a signal from measurement and a signal from the simulation of the model. Simulation was done with the same initial and boundary conditions as ...
Vergilius's user avatar
0 votes
0 answers
45 views

Finding correlation coefficient of two dependent random variables

I know when there are two independent random variables X and Y, the correlation coefficient is But what if the two random variables are dependent, for example, Y-X and X+Y, how can I represent them ...
wannastudycommunication's user avatar
0 votes
2 answers
348 views

Extract a signal from noise, so I can view noise spectrum only?

I have a perfect modulated signal. I have the same signal but with noise, this noise is from non linear amplification. Is it possible, to extract the clean signal so it's just leaving the noise? The ...
njk7's user avatar
  • 43
0 votes
0 answers
21 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 ...
bighero666's user avatar
0 votes
0 answers
31 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 ...
drVrh's user avatar
  • 13
0 votes
0 answers
50 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 ...
Wirral's user avatar
  • 1
0 votes
0 answers
49 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 ...
JohnMarvin's user avatar
0 votes
0 answers
92 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} \...
roobee's user avatar
  • 125
0 votes
0 answers
137 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?
Noha's user avatar
  • 349
0 votes
0 answers
181 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 ...
Lucas Tonon's user avatar
0 votes
0 answers
134 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 — ...
user45882's user avatar
0 votes
0 answers
136 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 ...
JavierG's user avatar
  • 101
0 votes
0 answers
54 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 ...
kuborgc6's user avatar
0 votes
0 answers
910 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 ...
J.Eltherington's user avatar
0 votes
0 answers
58 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 ...
Curiosity's user avatar
  • 367
0 votes
0 answers
60 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 ...
Jonathan.'s user avatar
  • 101
0 votes
0 answers
1k views

Triple correlation in MATLAB

How can I calculate a triple correlation between 3 signals A,B,C (each has 2 million samples)? I know xcorr do it for 2 signals by FFT each signal, multiplication and iFFT back. Since xcorr cannot do ...
Georgiy's user avatar
  • 11
0 votes
0 answers
571 views

Correlation between two graphs in Matlab

I am trying to make a system that detects footsteps. First I filter and decimate the original signal, then I make a convolution between the filtered signal and a single footstep, then I extract the ...
Amalia's user avatar
  • 1
0 votes
0 answers
899 views

Why does a phase shift in the frequency domain not produce a time delay in the time domain?

Suppose I have an input signal which represents a vehicle front suspension response that has been measured using an accelerometer. It is seen that the measured rear suspension response is effectively ...
Varun's user avatar
  • 1
0 votes
0 answers
60 views

Implement average as correlation

I have a MxN image matrix in, and need to get out matrix out size MxN as follows: Each point out[i,j] is the average of all in[i,j] inside a window size WxW (if boundary allows). For example if W=10 ...
Dzung Nguyen's user avatar
0 votes
1 answer
45 views

Correlated fading channel: transmit and receive antenna correlation matrices

I am trying to create a non-i.i.d channel: correlated Rayleigh fading channel. $$ H= R_H \cdot H_o,$$ where $H_o$ is i.i.d. channel ( uncorrelated) and $ R_H$ is a channel correlation matrix, is ...
user36610's user avatar
-1 votes
1 answer
69 views

Is it possible to use a genetic algorithm for finding the correlation among time series

I am working on an optimized method for measuring the similarity between 2 signals, Is it possible to use a genetic algorithm for finding the correlation among time series?
Blobmou's user avatar
  • 59
-1 votes
1 answer
140 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 ...
Ben1000's user avatar
  • 37
-1 votes
1 answer
148 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 ...
Jon's user avatar
  • 1
-1 votes
1 answer
556 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 ...
anony's user avatar
  • 11