Download presentation

Presentation is loading. Please wait.

Published byJesus Gray Modified over 4 years ago

1
DCSP-21 Jianfeng Feng Department of Computer Science Warwick Univ., UK Jianfeng.feng@warwick.ac.uk

2
Stochastic Processes Random variables: x Stochastic processes: x(t), x(n) P(x=1)=0.5 P (x(n)=1)=0.5 Toss a coin toss a coin many times A sequence here

3
Stochastic Processes Random variables: x Stochastic processes: x(t), x(n) P(x=1)=0.5 P (x(n)=1)=0.5 mean E x =0.5 mean E x(n) = 0.5 Variance var (x) = var ( x(n) ) = correlation between x(0) and x (n) r xx (n) = E (x(0) – E x(0)) (x(n) – E x(n))

4
x=randn(1000,1); hold on y=zeros(1000); z=zeros(1000); plot(x); for i=1:900 y(i)=x(i+100); z(i+100)=x(i+100); mxy(i)=x(i)*y(i); end plot(z+10,'r') plot(y+20,'g') plot(mxy+30,'b')

6
mean(mxy) ans = 0.0218

8
plot(abs(fft(autocorr(x)))) hold on plot(abs(fft((x))),'r')

9
White noise: the spectrum of its autorrelation is flat

10
Stochastic Processes Random variables: x Stochastic processes: x(t), x(n) The summation of two normal random variables Is again a normal random variable Z = X + Y mean (Z) = mean (X) + mean(Y) var(Z) = var (X) + var(Y) (if X and Y are independent) The summation of two white noise processes is again a white noise process Z(n) = X(n) + Y(n) mean (Z) = mean (X) + mean(Y) var(Z) = var (X) + var(Y) (if X and Y are independent)

11
Stochastic Processes Random variables: x Stochastic processes: x(t), x(n) The summation of two normal random variables Is again a normal random variable Z = X + Y mean (Z) = mean (X) + mean(Y) var(Z) = var (X) + var(Y) (if X and Y are independent) The summation of two white noise processes is again a white noise process Z(n) = X(n) + Y(n) mean (Z) = mean (X) + mean(Y) var(Z) = var (X) + var(Y) (if X and Y are independent)

12
Application: Matched Filter Assume an n bit signal a(i) = S(-i) Y(n)= a(0) X(n) + a(1) X(n-1) + … + a(N) X(n-N) Actual input X(i) = S(i)+ (i)

13
The variance is not enlarged due to the summation of many noise terms

14
clear all close all mag=0.3; for i=1:500 x(i)=0; v(i)=randn(1,1); w(i)=x(i)+v(i); end for i=501:600 x(i)=mag; v(i)=randn(1,1); w(i)=x(i)+v(i); end for i=601:1000 x(i)=0; v(i)=randn(1,1); w(i)=x(i)+v(i); end for i=1:100 h(i)=1; end for j=101:1000 dec(j)=h*w([j-100:j-1])'; end figure(1) plot(v); hold on plot(x,'r'); figure(2) plot(dec); figure(3) plot(w,'r');

Similar presentations

OK

DCSP-22 Jianfeng Feng Department of Computer Science Warwick Univ., UK

DCSP-22 Jianfeng Feng Department of Computer Science Warwick Univ., UK

© 2018 SlidePlayer.com Inc.

All rights reserved.

To ensure the functioning of the site, we use **cookies**. We share information about your activities on the site with our partners and Google partners: social networks and companies engaged in advertising and web analytics. For more information, see the Privacy Policy and Google Privacy & Terms.
Your consent to our cookies if you continue to use this website.

Ads by Google

Ppt on eia report crude Ppt on waves tides and ocean currents affect Ppt on power system stability using facts devices Ppt on water scarcity solutions Ppt on development in rural areas of india Light coloured backgrounds for ppt on social media Ppt on product management Ppt on conference call etiquette participants Ppt on data handling for class 6 Ppt on total parenteral nutrition