Docsity

Numerical Analysis Using the DTFT - Lecture Notes | EECS 451, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Numerical Analysis Using the DTFT - Lecture Notes | EECS 451 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

EECS 451 NUMERICAL ANALYSIS USING THE DTFT Given: A continuous-time signal a(t t) bandlimilted to B Hy. Goal: Plan: Sample: System: x To compute its derivative #£ 7, and indcfinite integral foal Sample x(t) + x(mA); digital filter e(nA) > |h(nA). > y(nA). 1 ud. Sample every A sampling rate 4 >> 2B = 2BA << 1. a(t) 3 [LPI ? BH2| > [A/D| > |h(n)| > [D/Al > @. eee Teese antialias filter 8: ampler digital inter— filter polate Forward: Backward: Central: Computation of Derivative of (1) from (nA) 1)A) — {nA)]/A. Compute y(t) = y(n) = AF. [e((n + y(nA) x ea) y(n) = SF = [x((n-1 1A) AL ds: dt x((n — 1)A))/A. using finite differences a((n~ I)A)/2A. Ret: Math 116. DTFT: Forward: Backward: Central: Plots: Lesson: Compute DTFTs of each difference operator, then scale by A: Hp(e!) == (e)” —1) A Hy(F#)/A = (el — 1)/A. Halel”) = (1-9) Hy lel) /A = Hele) = (el — eF*)/ (1— eA FAVA, 2 Ho (eA) /A = (elPA — eo FHA) 2A, See plots below of frequency responses |J7(e!”)| vs. w for all of these. All approximate ideal differentiator jw for small w (zero al. origin). Plots show amount of oversampling necessary for good results. Series: Central: Error: But: A Hy (e?”4) et Al |-jwA—1) = jw = 4(1-(-jwA)) = LHp(ei). wA << 1 > HolelA)/A & ((1 + jwA) — (1 -— wA))/2A = jw. Forward and backward: O(w?A). Central: O(w? A?) (better). See below! Note that Hy (z) has a zero at z= -lLSw=r_! TIR. filter: DTFT: But: Truncate: Let Aiin(e?”) = ju, le Hele TWA) TN = hitp= xf, Gwyet dus = (-1)"*/n,n/ 0. Implements 4 juXs lol < E: at © exactly, TIR, filter—+need all data to implement: trouble with ond effects. Truncating hrrn(n) % (6(n — 1) — 6(n — 1)) 4 2(central difference)! FIR filter: > >H=remez(N-1,[0,1],[0,1],’differentiator’);freqz(H,1). BS - as 3.5 3 3 a 2.57 25 25 Boa z = 4! s g 2 2 z z £ O15 gts ais 1 1 1 os Os 0.5 0 0 - 0 2 3 4 0 1 2 a 4 °% 1 2 Frequency Frequency