0% found this document useful (0 votes)
21 views

Experiment 1 Fair Notes

Uploaded by

Syamantak Sarkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
21 views

Experiment 1 Fair Notes

Uploaded by

Syamantak Sarkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 8
1. Noise filtering 2 Generate a random signal x(n) with autocorrelation function as r(k) = P @!*! for a chosen a where 0< a <1 (bSketch power spectral density (PSD) P,(e™) and find the bandwidth of the signal (¢-7 Simulate noisy signal with additive uncorrelated noise w(n) and an echo signal to get the noisy signal y(n) as y(n) = x(n) + A x(n-D) + w(n) d. Consider noise autocorrelation function as ry(k) = 6? 8(k). ee eee ot en ep ee 1, ee factor A = 0.1, delay of echo D =1, noise variance o? = 0.25. ie Sketch the PSD of x(n) and y(n). o iii” Design FIR Wiener filter with tapped delay line structure having L= 2 taps. Find the filtered output signal x(n). Sketch x(n), x(n) and PSD of x(n). iv’ Find minimum mean squared error (MMSE) and improvement in SNR through filtering ) P(t-«?) a) Pe tna a Os UA) aka }Plot P(e) w-v.t wo avn) = 71) - 0-4 0-1) A [utnjexcn = «6-9 & Noisy signal generation Snorer OM. = EL{xer) Ax Gr) +06F fren) rane) + 20> aT (k) + ATH (KH + A tx CK-) + AP ry (K) + Yo CK) = (4A?) Mx (k) 4A [re (K+) +39] + Tw (Kk) ray = ELx(n) 4 O-K)] Vag i= Vaclk) + A Vx Ck+1) (0) eee) Try (0) = 2-08 ry c= bo4 Yang (1) = 0-83 = 2.43 104 x. » 2-08 Ry= | loss 104 2-43 =a AL z a | 0; 864 We l Rn) = Wd, 4Cn) + Wig (n-1) EL Am) -2 (nm) ] = Vy (0) - tng W = 2-{2.08 “eed ~0. | Wy EL(xeny -A™) J = 2-1 F8 = 0-22 SNR = 4-4. . mse = ee = OM fer 2 Original SNR yr) = XEN) 40-1 x@-) +00(n) echo white Noise Power of echo(d(n)) = 0.01 rx C0) = 0-01 x2 = 0-02 Power of whi noise (w(n)) =6™ = 0-25 Totat noise power = 0.02 +0.25 = 0-27 = 40 2 0.24 So, aS we cam See that Hie SNR) ci matia Vo fs Improved thom the SNR) Onigined a) yon) = 200) + OL x=) +VOn) Yq) = FOL ret) « O-0f elke) #¥eCK-Df #0 CK) 2£q00] = aft Ob ras) 4 OL [rele +) + Cop 9 Pye) ~fhereo.iLzt+2) fey te) cot Pe Ry (2D = { Voleo.1 ER f Pelee) +e =(1:01 +02 ase) Pxel*) wo SSR original So,P (el) = (Vol + 0-2 cose) Py (era? We will plot Py (el®) wnt PSD of Xi) YO) = x0) 40-5 Xn-1) 49m 1 (K) = ELAR) A(r-«)] = E [fe gov. rye} G Generotion of yo) yk) = fe yen-K) veo yn) f] (UA?) (K+ A Leck) + CD] = Or Yy(K)+ 6491 %y (KI) ners) + 0 (KI FO, THCY = WP rer) Fy (K) 4 oor Ley (Kod + Yay li= Vick) + A vx (k+1) fe 0) Z = pen fates a vay ts ry (0) we ) Xx (0) +Alre O HE] naa mien aterttans cog) | gaye o5enx03¥03 Se] Px(E)=R (el) [array + 2m ese] = 1985 ona fl 0-25) %H (1) + 0-5 [Ye (2) +4510] Plot Px (2%) wrt w in order to get Q ~ eae PSD of x(e%) V) Simulate the obove Steps for different values of P,%~,A, 4 SS Ht OF. vss | Ry- 2 c Fup (0) = ¥y(0) + 0.5 ¥x C1 GOED, PA1, %=0.3,A-0.5, 120.3 fae alo) oe 2 : = 1+ 0.5 X0-5 =t.f (Ki mk) = 0.3) veg = Ya (D4 05 2) Pel [0.3 . ! \ = 0.3 + 0-5 ¥ 0-24 - Ciao8z (rae! NG Vn) = XM) ~ 0.3 x(-1 Se. = eis > Gemeradion of the Signal . [0-345 | fein. PO? eRe a t+ ot 2 oe SO nen “es (..] 140.04 -0.6e0s2 E ae = oa Ss oa al : 2 - vet Ebene [rne|> Le ny = we yore erylrt) MMSE (0)- Hy W ray lise Yack) + A Tx CK) -'- [195 0.345] [07 ] Yo (0) = Fx (0)+1-5 200 ee : eae oi 415 KO-7 = 2-05 Bena — Wry OD = ROD +S Va) = 6-25 0. a 4 = 1 43! SN me) ee | oe ears Raja [ fs 8 eee eee Se Gin! ~ Apamacen 055 fie Be ny Cased _ =f coer iy [229] Pal, = OF, ARLS, = 0.25 [esr 9-6 ia «| Rea) o. zit = [0.50 ~o4 | { on Po Cea ema Goon ee 140-44 Tie eos10) = 0.83 | (Olena NG STC VARIO, ¥ [2.08] = ILO vn tk) = OS (k) 10-5 $1) i : +06 &(Kx1) ] 14) {01x 01 fen C4 recy fr%ol9] roe ie ear = 2.02 + 0.1 {0-8x2}+ 0% | a a 2) > 243 Lo i f oe Yell) = 10108 + 0-1 {0.32425 4 M00) arc Leb Hz) = Aor Gy 27 Hz") = AetAz z.2 pen? le — : aa mre 2-43 | He MW = AS tay + B02 1+ A5Qy, naa =@ +04) + 0.012% + a6eu3 fs] a Pe eee tee ate (Ete | ae aeote a awa 2 acs oI 2.08 fox Cs ay (CO = A =o = . 0.8 = [-o25 0-53} [83] of nares a = ) z : Coletlation of PSD for XO, 4 x*@) een ama y(n) [Generalization] Lona 3) Cn) = a ven) Farvon-Ol & YON = x60) + Or xr +r) Pure moving YG Uk) = bOl ve) + ok (Ke) tre(K-f (MA model) +o (K) zlylk)} = hel) +O [ak KCK] (q@]> x peas; . ae 2 AO) {here o-f2t2) fe, (2) x0 Paty = Pls Pylel®) = { Leteont e309 } Pe (ei) +07 =(-01 +0-2 cos) Pale) cca) oy (x) = ELROr) Ar-¥)] = EIR yore yor} fi. yore serge ef] = Wr Vy (k)+ 9) Vy (K-1) y » Oo Y(KAI) HO YOY a ret) vor Dele | yi) (2) = teh eat) Pyle) + oi. «4 oe fea) ad) p, 29) [wr tots 2e.0, sr)

You might also like