Questions tagged [autocorrelation]

Autocorrelation is the cross-correlation of a signal with itself.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

Linear prediction and filter stability

I am currently trying to implement an iterative block-wise algorithm in which AR coefficients are computed for each block. There is a issue with my code where values get too large, and I was ...
0
votes
1answer
203 views

How to determine fundamental frequencies (beats/minute) of heartbeat? (matlab)

read = matfile('ECG.mat'); [cor, lags] = xcorr(read.ecg, read.ecg); read.Fs; So i have read.ecg (signal) and ...
0
votes
1answer
648 views

Determining the autocorrelation sequence from an AR model

I have the following equation: $$x(n)=\frac{14}{24}x(n-1)+\frac{9}{24}x(n-2)-\frac{1}{24}x(n-3)+w(n)$$ where, $w(n)$ is a stationary white noise process with variance $\sigma^2_w$ Now, I want to ...
1
vote
2answers
78 views

Image Interpolation Using the Yule Walker Equations

I have been studying about the Yule-Walker equations for prediction of a time series data from knowledge of past values of the series. Is there any way I can use the same in an image to exploit the ...
1
vote
1answer
280 views

Confusion about PSD and RMS

Let's say I have a noise power-spectral-density (PSD) which is not flat and ranges from 0 to $f_1$ Hz in frequency. As we know, the total area under the PSD is equal to the total average power of the ...
2
votes
1answer
32 views

PSD from autocorrelation in MATLAB

I am trying to simulate a simple stochastic process defined by the equation: \begin{equation} \frac{1}{v}\frac{db}{dt} +\Gamma_0 b= \sqrt{\sigma}R(t), \end{equation} where $R(t)$ is a zero-mean white ...
0
votes
0answers
20 views

Autocorrelation of an AR model

When I plot the autocorrelation function of an autoregressive signal, I get this instead of a damping sinusoid. I am having trouble understanding why this is happening. My signal is an generated ...
0
votes
1answer
44 views

Interpolation of missing audio signal in a video sequence

Suppose there is a video sequence and there are some frames for which the audio data is missing. I want to interpolate the missing audio data on the basis of the correlation of the audio signal with ...
1
vote
2answers
252 views

Harmonics to Noise Ratio Estimation

I'm willing to estimate the Harmonics to Noise Ratio (HNR) of a speech signal x[k] and using autocorrelation method. Theoretically, HNR is given as, $\ HNR = \frac{R_{xx}[T_0] }{R_{xx}[0]-R_{xx}[...
3
votes
4answers
1k views

Advice on autocorrelation via FFT

I have been creating an application in Java that transforms an audio signal and writes it to a midi file. At first I tried using autocorrelation to find the fundamental frequency. However, I have ...
0
votes
0answers
21 views

SNR and Correlation

Signal to Noise ratio is essentially the ratio of the signal power to the average noise power. Correlation is the similarity of two signals. Assuming a signal travels through a channel or medium, and ...
0
votes
2answers
37 views

Why is there only one integration in the solution if there is two integral in the formula?

In this problem the random variable is theta and according to the formula there should be two integrations but in the solution there is only one . Nor am i able to understand the meaning of x1 and x2 ...
1
vote
2answers
50 views

Understanding Pitch Detection with Autocorrelation Methods

I've been reading through A Smarter Way to Find Pitch, describing its pitch detection algorithm using autocorrelation. I've been having trouble understanding the accuracy claims. It says: MPM runs ...
-3
votes
2answers
68 views

Noise and AutoCorrelation Function

I would like to find a way to identify whether some components of a signal I have are "noise components" or not. Given the fact that the (normalized) autocorrelation function of white noise is a ...
1
vote
1answer
44 views

Why autocorrelation can be more efficiently calculated using the fft

Can anyone explain why autocorrelation can be more efficiently calculated using the fft ?
0
votes
2answers
97 views

Finding number of independent samples using autocorrelation

I have a pressure signal (y) with 512000 samples and with a sampling frequency ...
0
votes
0answers
40 views

ACF expression using FFT method

It is known that the ACF of a 2D digital image can be obtained by computing the inverse Fourier transform ...
0
votes
2answers
43 views

Relation between $X(f)$ and $S_x(f)$

We know that for a signal $x(t)$, it is related to $R_x(\tau)$ as, $$R_x(\tau) = \int_{-\infty}^{\infty}x(t)x(t-\tau)dt$$. $\\$We also know that $$R_x(\tau) \rightleftharpoons S_x(f)$$ $\\$How do we ...
0
votes
1answer
566 views

Finding the fundamental frequency from Autocorrelated data

I'm writing an app in which I need to find the fundamental frequency of a note produced by a trombone. To do this I'm taking the FFT of audio data from a microphone and then using autocorrelation code ...
2
votes
2answers
135 views

Autocorrelation of signal with offset

If I have a stationary signal $x(t)$ with zero mean and with an auto correlation $r_{xx}(\tau)$, then what is the auto correlation of $y(t)=x(t)+b$ ? My calculations so far: $$\begin{align} r_{yy}(\...
2
votes
1answer
78 views

Correlation of independent random processes

Suppose $X(t)$ and $Y(t)$ be two independent random processes. Is $E(X(t_1)Y(t_2))$ necessarily zero?
2
votes
0answers
34 views

what is equal to the FT of the Autocorrelation function

I am trying to make my own demonstration in order to find what is equal to the FT of the Autocorrelation function. The autocorrelation function in some book about turbulence is defined as: r($\tau$)=...
-1
votes
3answers
283 views

Derivation of PSD of sampled bandlimited random process

When a bandlimited random process whose PSD \begin{equation} S(\omega) = \begin{cases} \frac{N_0}{2} & -10B<\omega<10B\\[2ex] 0 & \text{otherwise.} \end{cases} \end{equation} is ...
0
votes
0answers
20 views

Is the expectation of a random process $X(t)$ with zero DC component necessarily zero?

Is the expectation of a random process $X(t)$ with zero DC component necessarily zero? Or can it be non-zero depending upon the process?
2
votes
1answer
48 views

the demonstration that states that the FT of the ACF function is the square of the DTFT of the signal

I am following the book The Intuitive Guide to Fourier Analysis & Spectral Estimation with MATLAB. I am trying to selflearn the fourier analysis in matlab. I got lost in one passage in the ...
0
votes
1answer
29 views

Particular Correlation formula

I'm reading a book where the autocorrelation of white noise is expressed as: What is the term $Q(k)$ and why is is expressed as an average value of a dot product ?
1
vote
3answers
623 views

Least Squares and Auto and Cross Correlation

I am trying to understand why auto and cross correlation helps find the best fit line in least squares. I have an equation as stated here: $Ax=b$ -- I have not exact solution, so I use the least ...
1
vote
1answer
64 views

Mathematical description of the ACF using fft2

I computed the acf of an image with the following code: ...
0
votes
1answer
689 views

Autocorrelation: numpy versus FFT

I have a series a of values (0 and 1) coming from a Brownian process with drift for which I am studying the autocorrelation. I used two methods: 1) numpy autocorrelation: ...
2
votes
2answers
112 views

Why is the Fourier (or cosine) transform decorrelating?

The discrete Fourier transform (DFT) and the discrete cosine transform (DCT) both decompose a signal into its frequency-domain spectrum. One property that I have seen praised across various domains ...
0
votes
0answers
18 views

Increasing error safety in the cross correlation of two binary signals in wireless communication

I want to cross correlate two binary signals, where one is corrupted by noise and shifted by a time constant $\tau$, but has the same bit pattern (so basically an auto correlation). Similar to case 2 ...
6
votes
2answers
422 views

Efficient calculation of correlation function every $N^{\rm th}$ point

I would like to calculate a long correlation function of length say, 1e6 points. I have a prior knowledge that the correlation peak will be in point k*1000. Is there an efficient way to apply this ...
2
votes
1answer
68 views

What kind of power spectrum implies uncorrelation in time?

I am new in signal processing field, and actually I just need some basic tools for what I am working on. I've learnt that the autocorrelation function is the inverse Fourier transform of the signal's ...
0
votes
0answers
7 views

After fitting auto ARIMA's order, in prediction I'm getting bad result

For sunspot dataset. Below is the ARIMA code. Auto ARIMA finds the best ARMA(2,1,2)(2,0,1) model. But when I plot the prediction seems wrong: ...
1
vote
1answer
53 views

How to find the fundamental frequency of a discrete signal using partial autocorrelation?

I hope you can help me with this question. I am trying to calculate the fundamental frequency (to know the beats per minute) of a cardiac pulse signal using partial autocorrelation. I use a 12-bit ...
3
votes
2answers
3k views

Correlation Using FFT / IFFT (Convolution in Frequency Domain) in Java

I try to find about the delay between two audio files using Cross Correlation in Java. I've already done this algorithm so far that i get a idea about how many samples is the delay. FFT x1 -> Zero ...
0
votes
1answer
139 views

Autoconvolution vs Autocorrelation

I have a serious doubt about Autocorrelation and AutoConvolution. My understanding is, Autocorrelation Autocorrelation is ...
0
votes
1answer
59 views

Fluctuation of autocorrelation of a signal due to signal's noise

I have a question about the fluctuation of autocorrelation of a signal due to signal's noise. I have a signal defined in $-1\leq t \leq 1$ as the following: $V(t)=kt+R(t)$, where $R(t)$ is the random ...
0
votes
0answers
18 views

Aperiodic Correlation function using FFT Method

Periodic correlation function between two binary sequences say x and y can be computed using FFT. corr_value = ifft(fft(x).*conj(fft(y)); Can some one please help on how to compute aperiodic ...
1
vote
1answer
236 views

Autocorrelation of sinc function

I'm having trouble on computing the autocorrelation of the sinc function I want to compute $$R_{hh}(\tau)=\int_{-\infty}^{\infty}\operatorname{sinc}(t) \ \operatorname{sinc}(t-\tau) \ \mathrm{d}t$$ ...
1
vote
0answers
38 views

Equivalence of the Power Spectral Density definitions

I am trying to show the equivalence of the following Power Spectral Density definitions in Matlab: Definition 1: $$ P(\omega) = \sum_{k=-\infty}^{\infty} r(k)e^{-j\omega k} $$ Definition 2: $$ P(\...
1
vote
0answers
25 views

How to add noise with given autocorrelation to signal in Matlab?

My question is a mix of signal processing and Matlab coding. I have an FIR filter with added noise $w_n$ $$x_n=\sum_{m=0}^{N_h-1}h_mg_{n-m}+w_n.$$ Now the noise $w_n$ has the autocorrelation $$E[...
1
vote
0answers
47 views

Zero-padding vs. nonzero-padding in computation of auto-correlation with FFT

Isn't the usual zero-padding in the computation of the auto-correlation function with FFT just one of many possible extrapolations of the original signal? If I have a measured signal which has good ...
31
votes
1answer
7k views

Does the autocorrelation function completely describe a stochastic process?

Is a stochastic process completely described by its autocorrelation function? If not, which additional properties would be needed?
0
votes
0answers
34 views

Autocorrelation function and product of summations

Let $u[k]$ be a white gaussian noise with variance $\sigma^2$ and $y[k]=\sum\limits_{i=0}^q b_i u[k-i]$, that is a moving average model. I am trying to compute the autocorrelation function of $y[k]$: ...
0
votes
1answer
69 views

Finding period of a square wave with varying sampling frequency

I have a square wave (0-1.8V) with a varying sampling frequency (from a circuit simulator). It is also not a perfect square wave (the high and low signal could be very close to but not precisely zero ...
9
votes
1answer
2k views

What is an AMDF?

The wikipedia page for Average Magnitude Difference Function/Formula (AMDF) appears to be empty. What is an AMDF? What are AMDF's properties? What are AMDF's strengths and weaknesses, as compared ...
0
votes
0answers
63 views

Is there an algorithm for computing auto-correlation in a frame-based manner?

I am trying to find out if an algorithm similar to the Overlap-And-Add method that enables frame-based computation of convolution and cross-correlation exists. When I say frame-based computation I am ...
0
votes
1answer
265 views

Matrix cross correlation in python

I'm currently performing matrix cross correlation in python using : C = scipy.signal.correlate2d(A,A) where A is a 2D matrix, typically a picture. As you can ...
0
votes
0answers
123 views

Pitch detection, YIN, pYIN

So here is the "seminal" YIN paper: Cheveigne A, Kawahara H. - YIN, a fundamental frequency estimator for speech and music and the new, improved probabilistic YIN: Mauch M, Dixon S. - PYIN: A ...