












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













Andrew E. Yagle Dept. of Electrical Engineering and Computer Science The University of Michigan, Ann Arbor MI
©c 1996 by Andrew E. Yagle (Preliminary version)
1.2 Discrete-Time Fourier Transform (DTFT)
Digital or discrete-time signal or sequence: x(n) = { 3 , 1 , 4 , 1 , 5 , 9 , 2 , 6 , 5.. .}(x(0) = 3)
DT F T {x(n)} = X(ejω^ ) =
n=−∞
x(n)e−jωn^ = X(z)|z=ejω
= 3 + 1e−jω^ + 4e−^2 jω^ + 1e−^3 jω^ + 5e−^4 jω^ +...
DT F T −^1 {X(ejω^ )} = x(n) =
2 π
∫ (^) π
−π
X(ejω^ )ejωndω
Properties of DTFT:
n=−∞ δ(t^ −^ n)}^ =^ DT F T^ {x(n)} DTFT is F of sampled cont.-time signal.
1.3 Discrete-Time Frequency Response
NOTE: discrete in one Fourier domain ↔periodic in other Fourier domain. EXAMPLES: Fourier series, DTFT. SYSTEM: Linear (discrete)time-invariant with discrete-time impulse response h(n). STEADY-STATE INPUT: cos(ωon) Note this is a SAMPLED sinusoid. STEADY-STATE OUTPUT: M cos(ωon + θ) for some amplitude M and phase shift θ.
cos(ωon) → h(n) → |H(ejωo^ )| cos(ωon+ARG[H(ejωo^ )])
where H(ejω^ ) = DT F T {h(n)}=freq. response. Just like phasors and cont. freq. response, except now everything PERIODIC in ω. Lowpass and Highpass Filters
h(n) =
sin(an) πn
↔ H(ejω^ ) =
1 , if |ω| < a; 0 , if a < |ω| < π
h(n)(−1)n^ ↔ H(ej(ω+π))
Modulate by (−1)n: lowpass→highpass
2.1 Upsampling
x(n) = { 3 , 1 , 4 , 1 , 5 , 9 , 2 , 6 , 5.. .}(x(0) = 3) The upsampled (by 2) signal xu(n) is xu(n) = { 3 , 0 , 1 , 0 , 4 , 0 , 1 , 0 , 5 , 0 , 9.. .} x(n) →↑ 2 → xu(n); xu(n) =
x(n/2), if n is even 0 , if n is odd In the frequency domain: Xu(ejω^ ) = X(e^2 jω^ ) now has period π:
Can recover x(n) from xu(n):
Filtering replaces zeros in xu(n) with values obtained from sampling a bandlimited continuous-time signal.
2.2 Downsampling
x(n) = { 3 , 1 , 4 , 1 , 5 , 9 , 2 , 6 , 5.. .}(x(0) = 3) The downsampled (by 2) signal xd(n) is xu(n) = { 3 , 4 , 5 , 2 , 5 , 5.. .} x(n) →↓ 2 → xd(n); xd(n) = x(2n) In the frequency domain: Xd(ejω^ ) = [X(ejω/^2 ) + X(ej(ω+2π)/^2 )]/2 aliased
Can recover x(n) from xd(n) ONLY IF X(ejω^ ) = 0 for |ω| > π 2 ↔ X(ejω^ ) bandlimited ↔ x(t) oversampled × 2
Can lowpass x(n), then downsample. Decimate x(n): lowpass filter+downsample
Since the lowpass-filtered signal is now oversam- pled, we can subsample without losing information.
2.4 Applications of Multirate SP
2.5 Subband Coding
IDEA: Divide up speech signal into frequency bands, each band an octave (factor of 2) wide.
Split up signal into different frequency bands. Then reassemble bands into original signal.
3.1 Quadrature-Mirror Filters
3.1 Quadrature-Mirror Filters, continued
a. Signal at midpoint of top rail is Xuppermid(ω) = [H 0 ( ω 2 )X( ω 2 )+H 0 ( ω+2 2 π)X( ω+2 2 π)]/ 2 using decimation formula above.
b. Signal at midpoint of lower rail is Xlowermid(ω) = [H 1 ( ω 2 )X( ω 2 )+H 1 ( ω+2 2 π)X( ω+2 2 π)]/ 2 using decimation formula above.
c. Output signal is Xˆ(ω) = G 0 (ω)Xuppermid(2ω)+G 1 (ω)Xlowermid(2ω) using interpolation formula above.
d. Condition for perfect reconstruction is X(ω) = Xˆ(ω) = [G 0 (ω)H 0 (ω)+G 1 (ω)H 1 (ω)]X(ω)/ 2 +[G 0 (ω)H 0 (ω+π)+G 1 (ω)H 1 (ω+π)]X(ω+π)/ 2 by substituting (b) in (c).
3.2 Orthogonal 2-Channel Filter Banks
Now make a slight but significant change: g(n) = ±time − reversed f ilters h(−n)
G 0 (ω) = H 0 (−ω); G 1 (ω) = H 1 (−ω)
g 0 (n) = h 0 (2N − 1 − n); g 1 (n) = h 1 (2N − 1 − n)
Also g 1 (n) = (−1)ng 0 (2N − 1 − n) (V&K, p.125)
Repeating above→Smith-Barnwell condition
|H 0 (ω)|^2 + |H 0 (ω + π)|^2 = 2 |G 0 (ω)|^2 + |G 0 (ω + π)|^2 = 2 instead of H 02 (ω)−H 12 (ω) = H 02 (ω)−H 02 (ω+π) = 2ejω(2N^ −1) Interpretation: Power complementary.
Also get G 0 (ω)G 1 (−ω) + G 0 (ω + π)G 1 (π − ω) = 0
instead of the aliasing=0 condition G 0 (ω)H 0 (ω + π) + G 1 (ω)H 1 (ω + π) = 0.
3.2 Orthogonal 2-Channel Filter Banks, cont.
Using V&K modulation matrix notation:
BIorthogonal QMFs
G 0 (ω)H 0 (ω) + G 1 (ω)H 1 (ω) = 2 G 0 (ω)H 0 (ω + π) + G 1 (ω)H 1 (ω + π) = 0 can be written as [ G 0 (ω) G 1 (ω) G 0 (ω + π) G 1 (ω + π)
H 0 (ω) H 0 (ω + π) H 1 (ω) H 1 (ω + π)
Orthogonal 2-Channel Filter Banks
|G 0 (ω)|^2 + |G 0 (ω + π)|^2 = 2 G 0 (ω)G 1 (−ω) + G 0 (ω + π)G 1 (π − ω) = 0 can be written as [ G 0 (ω) G 1 (ω) G 0 (ω + π) G 1 (ω + π)
G 0 (−ω) G 0 (π − ω) G 1 (−ω) G 1 (π − ω)
consistent with g(n) = ±h(−n).
3.4 Subband Coding=Discrete Wavelet Xform
At each mth^ stage, signal is split into:
i xm−^1 (i)h^0 (2n^ −^ i) detail: W 2 m^ x(n) =
i xm−^1 (i)h^1 (2n^ −^ i) These formulae combine filtering and subsampling. Synthesis (Reconstruct Signal) xm− 1 (n) =
i h^0 (2i−n)xm(i)+h^1 (2i−n)W^2 m^ x(i) Note time reversal between analysis and synthesis.
3.4 Subband Coding=Discrete Wavelet Xform, cont.
Can also use direct definitions: Analysis (Compute Wavelet Xform) average: xm(n) =
i x(i)h
m 0 (2mn − i)
detail: W 2 m^ x(i) =
i x(i)h
m 1 (2mn − i)
Synthesis (Reconstruct Signal) x(n) =
m=
i W^2 m^ x(i)h
m 1 (
mi − n)
i xL(i)h
L 0 (
Li − n)
Filters at Each Resolution hm 0 +1(n) =
i h^0 (i)h
m 0 (n^ −^2
mi) hm 1 +1(n) =
i h^1 (i)h
m 0 (n − 2 mi)
Orthogonality of Basis Functions < hm 1 (2mn−i), hm
′ 1 (
m′ n′ (^) −i) >= δ(m−m′)δ(n−n′) < hm 1 (2mn − i), hm
′ 0 (
m′ n′ (^) − i) >= 0, f or m′ (^) > m < hm 0 (2mn − i), hm 0 (2mn′^ − i) >= δ(n − n′) where < f (n), g(n) >=
n f^ (n)g
∗(n) if < ∞.