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
2 answers
34 views

Why we need convolution in image processing?

To my understanding, there are two methods to do linear filtering. One is cross-correlation, and another is convolution. Convolution requires 'flipping' the kernel when you do the calculation. I think ...
  • 13
0 votes
1 answer
67 views

What exactly happens in correlation?

I have understood convolution and it seems almost same as correlation mathematical expression wise. But in terms of signal processing,both are different operations. The difference between convolution ...
  • 1,134
3 votes
0 answers
39 views

The difference between convolution and cross-correlation from image processing point of view

The difference between convolution and cross-correlation from a signal-analysis point of view The above question gives very good information from signal processing point of view. But what about images?...
  • 623
0 votes
2 answers
53 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 ...
  • 43
1 vote
2 answers
113 views

Autocorrelation & Cross-Correlation -> Main uses in DSP??

Please help understanding the DSP usage of Autocorrelation & Cross-correlation It seems this is strongly linked to calculating phase offsets, frequency offset for carrier recovery, symbol timing ...
0 votes
2 answers
46 views

Power spectral density and auto correlation function: Frequency vs time representation

I have a time correlated periodic signal $a(t)$ with $t=0,1,...,T$ and $a(t+T) = a(t)$ that has been sampled at rate $\Delta t$ and I analyse the signal using the PSD via FFT and the ACF. As far as I ...
1 vote
1 answer
131 views

Cross-correlation maximum in frequency domain

I need to compute the complex cross-correlation between two signals a and b and the take only the maximum value of the cross-correlation, regardless of the lag time where this occurs. I can do it ...
  • 11
0 votes
0 answers
28 views

Given a correlation between A and B, can I calculate bounds on the correlation between A and C times A and B?

Lets say I have three vectors, A, B, and C. I know the correlation between A and B, which makes it intuitive that this gives a bound on the product of the correlations $r_{B,C} \cdot r_{A,C}$. For ...
0 votes
0 answers
22 views

Rank of (Estimated) Correlation Matrix for Frequency Estimation

Many subspace frequency estimators perform an estimate of the data correlation matrix as a first step. Assume a signal model of the form $$\boldsymbol{s} = \boldsymbol{H}(\boldsymbol{f})\boldsymbol{a} ...
  • 165
0 votes
1 answer
52 views

if I have 2 signals that are similar how will their cross correlation will look like?

I need to compare between 2 signals that both of them are different notes of the same musical instrument, so I thought maybe I can do it by Cross-Correlation but I dont really understand how to do it ...
3 votes
2 answers
93 views

Generalized correlation coefficients

Assume there are given two Gaussian random vectors $\boldsymbol{x}$ and $\boldsymbol{y}$ of equal length $N$ with corresponding means $\boldsymbol{\mu}_x$, $\boldsymbol{\mu}_y$ and covariance matrices ...
  • 165
1 vote
1 answer
56 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 ...
0 votes
1 answer
54 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
0 answers
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
0 answers
24 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 ...
-1 votes
1 answer
56 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?
  • 31
1 vote
2 answers
167 views

How to interpret values of the autocorrelation sequence?

I know that (auto)correlation indicates the "degree of predictability" of a variable with respect of another. However, this is a vague notion. I know that a blank process should have an ...
  • 31
0 votes
0 answers
28 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 ...
  • 13
1 vote
2 answers
227 views

Difference between reference and measurement signal?

Which differences can we find on various signals? We assume that we have a reference signal (determined theoretically) and measured signal. Which methods exist for determining the similarities ...
  • 13
0 votes
0 answers
43 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 ...
  • 1
0 votes
1 answer
102 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
0 answers
41 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 ...
2 votes
1 answer
131 views

Correlation and the Fourier transform

In the book Fundamentals of Music Processing: Audio, Analysis, Algorithms, Applications by Meinard Müller, the coefficients $d_\omega$ and $\phi_\omega$ are defined as where $\cos_{\omega,\phi}(t) = \...
  • 701
0 votes
1 answer
151 views

Estimate the time delay of two signals

I am having 2 sets of data data1 and data2 .I wanted to find the delay between the two datasets. Assume data1=[1 2 3 4 5 6 7 8 9 10] and data2=[0 0 0 0 1 2 3 4 5 6].From the data I know that, data2 is ...
  • 93
2 votes
3 answers
93 views

Identify which of the three signals is closest to a sinusoidal curve

I have some acceleration values from a sensor. These values are reported as x, y and z components of the acceleration. As can be seen in the attached figure, it is clear that the z signal has a clear ...
  • 21
3 votes
2 answers
106 views

Correlation: A Magnitude or Power quantity?

I am confused about the units we would refer to with a correlation result in that if it would be a magnitude or power quantity (and therefore specifically when using ratios in dB would we use 10Log or ...
  • 38.4k
0 votes
0 answers
29 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} \...
  • 101
-1 votes
2 answers
232 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 ...
  • 9
0 votes
1 answer
89 views

correlation matrix for complex white noise does not equal to identity matrix?

I generate 8 time series of gaussian white noise and want to compute the correlation matrix at a frequency bin between them. The following is the matlab code I use ...
  • 279
0 votes
1 answer
122 views

autocorrelation of multiple signals

Problem: I am looking at an adaptive filtering application where the eigenvaluespread of the autocorrelation matrix $R$ is important for the convergence of the algorithm. For a single channel system ...
  • 207
0 votes
1 answer
173 views

Why there is static noise and voice distortion after convolving it with impulse response?

I have been working on the decorrelation of audio signals while following this paper : The Decorrelation of Audio Signals and Its Impact on Spatial Imagery So far I have generated impulse responses in ...
1 vote
1 answer
36 views

Do we assume modulating and carrier signal uncorrelated in AM modulation?

I am new to communication and studying amplitude modulation. Let us assume an amplitude modulated wave given by $$\big(m(t)+ A\big) \cos(2\pi f_c t)$$ Now we have formula for efficiency as $$ \eta=\...
  • 147
0 votes
0 answers
75 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?
  • 367
0 votes
1 answer
63 views

How to measure correlation between 1 bit samples and theoretical original waveform?

I'm investigating quantization error. I have an analogue waveform that looks like this and is of theoretically infinite resolution:- I've sampled it as (8 bit oscilloscope readings & 0b1) to ...
1 vote
1 answer
205 views

Linear correlation of two vectors?

We had a lecture on digital watermark detection using linear correlation. Here it was explained that the linear correlation of two vectors is equal to their scalar product divided by the dimension. So,...
2 votes
2 answers
399 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 ...
1 vote
1 answer
78 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 ...
4 votes
2 answers
413 views

Applying Circular Cross Correlation in MATLAB

I have searched Google for circular cross correlation using Matlab, and I have found it only for one dimensional signals. Could you please help me implementing circular cross correlation between two ...
  • 367
2 votes
1 answer
100 views

Spatial multiplexing MIMO, antenna critical spacing, antenna isolation

How does antenna isolation affect single user spatial multiplexing MIMO performance in an antenna array? Text books talk about a critical antenna spacing of 1/2 of the wavelength provided that the ...
1 vote
1 answer
65 views

nature of output of the addition of white noise with colord noise

I want to know that the addition of a uncorrelated time series x with a correlated time series, say y generates a time series ...
  • 311
3 votes
1 answer
106 views

Proving that FFT (and by extension any correlation based estimator) is unbiased

I have a pretty simple question which i should have been able to answer. Just wanted to check if people here have a better solution to it. I am trying to establish that FFT as a frequency estimator (...
  • 31
0 votes
0 answers
80 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
1 answer
47 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 ...
1 vote
0 answers
119 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 ...
  • 91
0 votes
1 answer
41 views

Are ACF plots sufficient to detect white noise assuming probable existence of non linear associations?

ACF plots use autocorrelations tests to determine associations in time series. Autocorrelations, however, only measure linear associations. To my understanding, certain non-linear associations can ...
  • 135
6 votes
1 answer
478 views

How does DCT decorrelate images?

I've read in multiple places that DCT decorrelates Toeplitz matrices and images usually have Toeplitz structure. Can you explain with an example how DCT decorrelates a Toeplitz matrix? Example for DFT:...
0 votes
1 answer
67 views

packet encoder RF packets by using LPF for determining if it's zero or one [closed]

I'm transmitting RF packets with frequency 868MHZ , symbol rate (it's the same as bit rate) is 50KBaud , and Im sampling them by a dongle (fs=20480KHZ) to capture those RF packets, the captured ...
0 votes
1 answer
61 views

Deciding if the received packet is valid or not valid [closed]

I have sampled RF wireless packets as IQ samples file, those RF packets has patterns like preamable|syncword|data|crc , I'm doing cross correlation with my constant syncword (after I did the ...
1 vote
0 answers
151 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(...
  • 11
0 votes
1 answer
36 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 ...

1
2 3 4 5