Autocorrelation estimation

Digital Signal Processing · · dsp, autocorrelation, estimation

Contents

This typeset version was assembled by AI from my handwritten solutions. The handwritten PDF is the original source.

Problem 1301

Problem 1301 · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-sine.tex · Data: acf.py

  • Give the formula for biased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively biased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. sinusoid with zero mean value (4 points).

a) Biased estimation.

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

Rx[0]=PxR_x[0] = P_x (for biased only). (For unbiased too, but it’s not clearly visible on the plot.)

b)

Biased ACF estimate of the sinusoid

The signal starts at 1! Rx[0]=0.5R_x[0] = 0.5 is the power. Source: 1301.tex · Data: acf.py

Problem 1301a

Problem 1301a · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-sine.tex · Data: acf.py

  • Give the formula for unbiased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively unbiased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. sinusoid with zero mean value (4 points).

a) Unbiased estimation.

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

Rx[0]=PxR_x[0] = P_x

b)

Unbiased ACF estimate of the sinusoid

The signal starts at 1! Rx[0]=0.5R_x[0] = 0.5. Source: 1301a.tex · Data: acf.py

Problem 1302

Problem 1302 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-sine-biased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

a) Biased

b)

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

c) Sinusoid:

  • amplitude =1= 1
  • power =0.5= 0.5
  • 200 samples

Problem 1303

Problem 1303 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-sine-unbiased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

a) Unbiased

b)

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

⇒\Rightarrow Unbiased

c) Sinusoid:

  • amplitude =1= 1
  • power =0.5= 0.5
  • 200 samples

Problem 1304

Problem 1304 · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-noise.tex · Data: acf.py

  • Give the formula for biased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively biased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. Gaussian white noise with zero mean value (4 points).

a) Biased ACF:

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

b)

Biased ACF estimate of the noise

The signal starts at 1! Source: 1304.tex · Data: acf.py

Notice how the biased ACF almost follows the dashed envelope, i.e. for higher values of kk, the estimation decays because fewer samples are summed up at the edges; however, the whole sum is still divided by NN!

Problem 1304a

Problem 1304a · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-noise.tex · Data: acf.py

  • Give the formula for unbiased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively unbiased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. Gaussian white noise with zero mean value (4 points).

a) Unbiased ACF:

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

b)

Unbiased ACF estimate of the noise

The signal starts at 1! Source: 1304a.tex · Data: acf.py

Notice that for higher values of kk, the (unbiased) estimation error increases. The error of estimation is much stronger for a random signal than, for example, a sinusoid. Compare with the previous page!

Problem 1305

Problem 1305 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-noise-biased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

Note: biased estimation exhibits lower error of estimation for higher values of kk.

a) Biased

b)

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

c) Most likely Gaussian noise.

Px=Rx[0]=7,μ^n=0,200 samplesP_x = R_x[0] = 7, \qquad \hat{\mu}_n = 0, \qquad \text{200 samples}

Problem 1306

Problem 1306 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-noise-unbiased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

Note: unbiased estimation exhibits higher error of estimation for higher values of kk.

a) Unbiased

b)

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

c) Most likely Gaussian noise.

Px=Rx[0]=7,μ^n=0,200 samplesP_x = R_x[0] = 7, \qquad \hat{\mu}_n = 0, \qquad \text{200 samples}

Problem 1307

Problem 1307 · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-sine1.tex · Data: acf.py

  • Give the formula for biased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively biased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. sinusoid with non-zero mean value (4 points).

a)

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]⇒Biased\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k] \Rightarrow \text{Biased}

b)

Biased ACF estimate of the sinusoid with non-zero mean

The signal starts at 1! Rx[0]=1.5R_x[0] = 1.5. Source: 1307.tex · Data: acf.py

Some further analysis: given signal, assuming discrete time, is s[n]=1+sin⁡(ωnTs)s[n] = 1 + \sin(\omega n T_\mathrm{s}).

R^x=Av[(x[n])2],Ps[n]=1+12=1.5←signal power\hat{R}_x = \mathrm{Av}\left[(x[n])^2\right], \qquad P_{s[n]} = 1 + \frac{1}{2} = \boxed{1.5} \leftarrow \text{signal power}

Problem 1307a

Problem 1307a · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-sine1.tex · Data: acf.py

  • Give the formula for unbiased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively unbiased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. sinusoid with non-zero mean value (4 points).

a)

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

b)

Unbiased ACF estimate of the sinusoid with non-zero mean

The signal starts at 1! The dashed line is the signal power, Rx[0]R_x[0]. Source: 1307a.tex · Data: acf.py

Problem 1308

Problem 1308 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-sine1-biased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

a) Biased, because the error of estimation systematically decreases for higher values of kk.

b)

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

c) Sinusoid + const =s[n]+c= s[n] + c.

Assuming the amplitude of s[n]s[n] is 11 (i.e. 1⋅sin⁡(ωnTs)1\cdot\sin(\omega n T_\mathrm{s})). Power of the whole signal =1.5= 1.5.

Px=Ps+PcP_x = P_s + P_\mathrm{c}, where PsP_s is the power of the sinusoid, and PcP_\mathrm{c} is the power of the constant term.

1.5=Px=0.5sinusoid power+1constant power1.5 = P_x = \underset{\text{sinusoid power}}{0.5} + \underset{\text{constant power}}{1}Signal is: sin⁡(ωnTs)+1200 samples\boxed{\text{Signal is: } \sin(\omega n T_\mathrm{s}) + 1} \qquad \text{200 samples}

Problem 1309

Problem 1309 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-sine1-unbiased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

a) Unbiased (same reason as above).

b)

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

c) P^x=1.5\hat{P}_x = 1.5

Generally, it looks like a sinusoid + constant term. I think it is cosine.

Signal is: cos⁡(ωnTs)+1200 samples\boxed{\text{Signal is: } \cos(\omega n T_\mathrm{s}) + 1} \qquad \text{200 samples}

Problem 1310

Problem 1310 · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-noise4.tex · Data: acf.py

  • Give the formula for biased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively biased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. Gaussian white noise with non-zero mean value (4 points).

a)

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]⇒Biased\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k] \Rightarrow \text{Biased}

b)

Biased ACF estimate of the noise with non-zero mean

The signal starts at 1. Source: 1310.tex · Data: acf.py

Problem 1310a

Problem 1310a · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-noise4.tex · Data: acf.py

  • Give the formula for unbiased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively unbiased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. Gaussian white noise with non-zero mean value (4 points).

a)

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

b)

Unbiased ACF estimate of the noise with non-zero mean

The signal starts at 1. Wild error of estimation for higher values of kk. Source: 1310a.tex · Data: acf.py

Problem 1311

Problem 1311 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-noise4-biased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

a) Biased

b)

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

c) Gaussian noise + constant.

Px=Rx[0]=17P_x = R_x[0] = 17

Problem 1312

Problem 1312 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-noise4-unbiased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

a) Unbiased

b)

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

c) Gaussian noise + const.

Px=Rx[0]=17,Px=Ps+Pc=1+16=17P_x = R_x[0] = 17, \qquad P_x = P_s + P_\mathrm{c} = 1 + 16 = 17s[n]=N(0,σ)Gaussian noise+4\boxed{s[n] = \underset{\text{Gaussian noise}}{\mathcal{N}(0, \sigma)} + 4}

Problem 1313

Problem 1313 · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-sinenoise.tex · Data: acf.py

  • Give the formula for biased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively biased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. sinusoid in white Gaussian noise with zero mean value (4 points).

a) Biased:

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

b)

Biased ACF estimate of the sinusoid in noise

The signal starts at 1! There are some deformations in oscillations. Source: 1313.tex · Data: acf.py

Problem 1313a

Problem 1313a · CTU BE2M31DSPA exam

The analyzed signal

Source: exam-sinenoise.tex · Data: acf.py

  • Give the formula for unbiased estimation of autocorrelation function R[k]R[k] of signal x[n]x[n] with given length NN (4 points).
  • Draw illustratively unbiased estimation of autocorrelation function for 200 samples of the signal on the given figure, i.e. sinusoid in white Gaussian noise with zero mean value (4 points).

a)

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]⇒Unbiased\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k] \Rightarrow \text{Unbiased}

b)

Unbiased ACF estimate of the sinusoid in noise

The signal starts at 1! Source: 1313a.tex · Data: acf.py

Problem 1314

Problem 1314 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-sinenoise-biased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

a) Biased

b)

R^x[k]=1N∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

c) Sinusoid + Gaussian noise.

Assuming sinusoid amplitude =1⇒x[n]=s[n]+n[n]= 1 \Rightarrow x[n] = s[n] + n[n]

2=Rx[0]=Px=Ps+Pn=0.5signal power+1.5noise power=22 = R_x[0] = P_x = P_s + P_n = \underset{\text{signal power}}{0.5} + \underset{\text{noise power}}{1.5} = 2Pn=1.5=(1)×1.5P_n = 1.5 = (1)\times 1.5

where (1)(1) is the G.N. power with μn=0\mu_n = 0, perfect σ2\sigma^2.

So, x[n]=sin⁡(ωnTs)+1.5×n[n]\text{So, } \boxed{x[n] = \sin(\omega n T_\mathrm{s}) + \sqrt{1.5}\times n[n]}

where n[n]n[n] is Gaussian noise at Pn=1P_n = 1, μn=0\mu_n = 0.

Problem 1315

Problem 1315 · CTU BE2M31DSPA exam

The autocorrelation estimate

Source: exam-sinenoise-unbiased.tex · Data: acf.py

There is an estimation of autocorrelation coefficients of unknown discrete-time signal of finite length.

  • Determine if it is biased or unbiased estimation of autocorrelation coefficients (2 points).
  • Write the formula for the given estimation of autocorrelation function (4 points).
  • Determine, what signal was analyzed (2 points)?

a) Unbiased

b)

R^x[k]=1N−∣k∣∑n=0N−1−∣k∣x[n] x[n+k]\hat{R}_x[k] = \frac{1}{N-|k|}\sum_{n=0}^{N-1-|k|} x[n]\,x[n+k]

c) Same as above.

© 2026 Giorgi Aptsiauri. All rights reserved. Do not copy or republish this text or its figures without permission. Online version: https://giorgiaptsiauri.com/notes/dsp-ctu/02-autocorrelation/