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
2
votes
2answers
255 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 ...
3
votes
2answers
83 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 ...
1
vote
1answer
29 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 ...
4
votes
2answers
9k views

Cross correlate a 2D array

I have a 2D array of eeg data with shape (64,512) - 64 electrodes, 512 timepoints I want to calculate the maximum cross correlation (irrespective of lag/time shift) between every single electrode, so ...
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 ...
5
votes
1answer
593 views

Finding dependence between two sparse signals

I am new to signal processing and would really appreciate your help. happy to provide more context/details. In my research, I have a system that has many sensors $X_1, \ldots, X_N$ and using this ...
0
votes
1answer
28 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
1answer
226 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 ...
2
votes
1answer
64 views

BER performance of fractional equalizers for colored noise

I am trying to compare the BER performance of fractional and symbol spaced equalizers for channel equalization in colored noise scenario. I have found from simulation that for positively correlated ...
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
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 ...
-1
votes
1answer
47 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?
3
votes
1answer
489 views

Using a Wiener Filter to Estimate a Transfer Function

As a follow on Estimate the Transfer Function of an Unknown System which os estimating a transfer function of an unknown system using a Wiener filter, How would you put a minimum MSE criteria on how ...
3
votes
1answer
9k views

numpy.correlate and autocorrelation; audio signal

I want to calculate delay between an input and an output audio signal of my audio processing system. The input and output signals are available as signed 16 bit integers. To try out, I tried the ...
1
vote
2answers
90 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 ...
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
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
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 ...
1
vote
2answers
146 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 ...
1
vote
1answer
68 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
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
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 ...
9
votes
2answers
6k views

Why do we need to conjugate complex signals in autocorrelation and cross correlation

Why is it necessary to conjugate $f(t)$ while performing auto correlation or cross correlation with respect to $g(t)$, if $f(t)$ and $g(t)$ are complex signals?
1
vote
1answer
70 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 ...
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
39 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 ...
14
votes
3answers
2k views

What Does It Mean Exactly When Two Parts of a Signal Are Correlated?

I stumble quite often upon the notion that two or more parts of a signal are correlated to describe semi-formally that they belong together. For example in image processing, two pixels on an edge ...
2
votes
1answer
87 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) = \...
0
votes
0answers
21 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
1answer
103 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 ...
1
vote
1answer
124 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,...
8
votes
3answers
9k views

Calculating similarity between two signal plots

I have two plots, each having frequency as x-axis and Gain as y-axis. By taking one data set as a reference I have to calculate similarity between them. The graphs have same values on the x-axis and ...
2
votes
3answers
92 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 ...
3
votes
2answers
70 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 ...
1
vote
2answers
92 views

high & low pass correlated dither noise question

I read a pretty cool article the other day: Robert Katz - Dither noise Probability Density Explained. It says that if you have two dice (A and B) that you can roll both dice and then... Re-roll die A ...
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
1answer
105 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 ...
0
votes
0answers
15 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
1answer
37 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 ...
0
votes
1answer
66 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 ...
1
vote
1answer
34 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=\...
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
2answers
139 views

Two different definitions of cross-correlation

I have come across two different definitions of the cross-correlation function: $$ R_{XY}(\tau) = \int_{-\infty}^{+\infty} x(t) y(t+ \tau) dt $$ and $$ R_{XY}(\tau) = \int_{-\infty}^{+\infty} x(t)...
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
1answer
50 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 ...
3
votes
2answers
235 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 ...
0
votes
3answers
1k views

Autocorrelation function and correlation integral

I am confused by the definition of autocorrelation function. It is originally defined as the expected value $$R_{XX}(\tau) = E[(X(t)X(t+\tau)] = \langle X(t)X(t+\tau)\rangle\tag{1}$$ where $\langle\...
1
vote
1answer
51 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 ...

1
2 3 4 5