# 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.

200 questions
Filter by
Sorted by
Tagged with
711 views

### Correlation (or something similar) analysis between data with different sampling rates

I tried to do correlation analysis on the data with different sampling rates. For example, I have two sensors, A and B. Each sensor collects data with different sampling rates, e.g., A: 10Hz, B: 1Hz. ...
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 ...
179 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 ...
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 ...
802 views

### Is there any difference between using convolution and correlation for finding edges with Sobel?

I know that Sobel is a filter for edge detection and we should use convolution to find edges, but is there any difference if we use correlation instead of convolution? I think Sobel tries to find a ...
8k views

### Correlation : How is correlation analogous to dot product?

Till now I know correlation tells about similarity. I was watching a video lecture on image similarity in which I came to know that correlation is analogous to dot product. And hence correlation of ...
144 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 ...
227 views

### How do I know quantitatively if the correlation of two time series is significant?

I computed the correlation coefficient of two time series of daily observations, x and y, but noticed that the more sampling ...
8k 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 ...
2k views

### What is meant by “correlation” when referring to spectral coherence

I've been reading that coherence measures the correlation between two waves as a function of frequency. I also read that difference in phase does not mean less coherence at a given frequency, and that ...
3k views

### correlation coefficient between these two signals [closed]

hello there can anyone tell me how to find correlation coefficient between these two signal using equation?? i don't know how to find correlation coefficient between these two signals. i checked ...
63 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 ...
102 views

### Cross Correlation [closed]

I have two signals which I obtained from a State Estimator and the one the measured one "actual signal obtained from the nodes. I need to compare between the two signals how similar they are . or if ...
994 views

### Tied rank adjustment for Spearman Correlation

I have two 16 sample vectors, a and b as listed below: ...
2k views

### Cross-correlation or cross-covariance of non-zero mean signals

Cross-correlation for uniformly sampled signals is defined as  $$(f \star g)[n]\ \stackrel{\mathrm{def}}{=} \sum_{m=-\infty}^{\infty} f^*[m]\ g[m+n].$$ Cross-covariance for wide-sense stationary (...
388 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 ...
714 views

59 views

1k views

### Correlation using fft and xcorr and plot both answers (Matlab) [closed]

I am trying to calculate autocorrelation using fft and xcorr and plot the grafhic with both cases. ...
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 ...
815 views

### Echo cancelling using autocorrelation function

I was given a problem, but I couldn't solve. I did some researches but I still didn't figure it out. Here is the problem: An audio signal $s(t)$ is generated by a speaker reflects in a wall with ...
2k views

### How to measure the time dependent correlation of two signals

I have two signals (time series) shown in the plot below. Just by looking at the figure, we can see that the two main peaks of both signals are very closely aligned (correlated), however the red ...
7k views

### Auto Correlation vs Cross Correlation vs Convolution and their applications

I know from wikipedia that auto correlation in done on the same signal while cross correlation is done on different signals.But what does this actually imply in terms of application.I can always apply ...
323 views

### Finding Correlation response in fourier domain

Lets say I have a system that is trying to find a small image (assume all images are grayscale) within in an image by using correlation. So this system has the baseline image, and I input 5 different ...
168 views

### PSD and $\lim_{T\rightarrow \infty} \frac 1 {2T} \int_{-T}^T x(t)\bar y(t)\,dt$

From Wikipedia, I taken a definition of power spectral density: For continued signals that describe, for example, stationary physical processes, it makes more sense to define a power spectral density ...
182 views

### Power Spectrum Analysis

In order to find a peak or max response in the fourier domain as in the spatial domain, I have been studying bartlett's method, welch's method, and the blackman-tukey method for more accurate power ...
516 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 ...
520 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 ...
122 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 ...
729 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 ...
101 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 ...
159 views

### What is spatial correlation?

What does the spatial correlation of a signal say about it?How is it different from autocorrelation? `
88 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 ...
270 views

### Image registration / fusion optimal similarity metrics

I have a theoretical question about optimal similarity metrics for comparing data sets. In reading this linked paper, pp. 488-489 , I read the following 2 interesting statements. On page 488: ...
74 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 ...
331 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: ...
2k views

### Find Short Clip of Audio Within Longer Clip Of Audio

I need help figuring out a way to automatically synchronize two audio files that are both different recordings of the same source. More info below. This example is from a concert, where there is only ...
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 ...