Docsity

Digital Signal Processing Homework: Shift Invariance and Unitarity - Prof. Louis L. Scharf, Assignments of Digital Signal Processing

Toggle sidebar
bg1
COLORADO STATE UNIVERSITY, FT. COLLINS
ECE 512: Digital Signal Processing
Fall Semester, 2008
ECE 512 HOMEWORK
1 HW Set #1: due Thurs, Sept 11, 2008
Recommended Reading:
1. Your lecture notes.
2. SKM, Ch 1 and Ch 2, especially examples.
Assigned Problems
1. For each of the following convolutions, prove the assertion.
•Call y[n] = Pmg[n, m]x[m] the most general linear discrete-time
convolution. Prove that this convolution is shift-invariant iff g[n, m] =
h[n−m].
•Call y(t) = Rg(t, τ )x(τ)dτ the most general linear continuous-
time convolution. Prove that this convolution is shift-invariant iff
g(t, τ ) = h(t−τ).
•Call y[n] = Rg(nt0, τ )x(τ)dτ the most general linear mixed discrete-
continuous-time convolution. Prove that this convolution is shift-
invariant iff g(nt0, τ ) = h(nt0−τ). You will have to explain what
you mean by shift invariant.
•Call y(t) = Pmg(t, m)x[m] the most general linear mixed continuous-
discrete-time convolution. Prove that this convolution is shift-
invariant iff g(t, m) = h(t−mt0). You will have to explain what
you mean by shift invariant.
2. Let Fdenote an operator that maps a sequence x∈`2(Z) into the
sequence y=F x ∈`2(Z). The set `2(Z) is the set of finite energy
sequences: `2(Z) = {x:P|x|2[n]<∞}. Examples are
1
pf3
pf4
pf5

Partial preview of the text

Download Digital Signal Processing Homework: Shift Invariance and Unitarity - Prof. Louis L. Scharf and more Assignments Digital Signal Processing in PDF only on Docsity!

COLORADO STATE UNIVERSITY, FT. COLLINS

ECE 512: Digital Signal Processing Fall Semester, 2008

ECE 512 HOMEWORK

1 HW Set #1: due Thurs, Sept 11, 2008

Recommended Reading:

  1. Your lecture notes.
  2. SKM, Ch 1 and Ch 2, especially examples.

Assigned Problems

  1. For each of the following convolutions, prove the assertion.
    • Call y[n] =

∑ m g[n, m]x[m] the most general linear discrete-time convolution. Prove that this convolution is shift-invariant iff g[n, m] = h[n − m].

  • Call y(t) =

∫ g(t, τ )x(τ )dτ the most general linear continuous- time convolution. Prove that this convolution is shift-invariant iff g(t, τ ) = h(t − τ ).

  • Call y[n] =

∫ g(nt 0 , τ )x(τ )dτ the most general linear mixed discrete- continuous-time convolution. Prove that this convolution is shift- invariant iff g(nt 0 , τ ) = h(nt 0 − τ ). You will have to explain what you mean by shift invariant.

  • Call y(t) =

∑ m g(t, m)x[m] the most general linear mixed continuous- discrete-time convolution. Prove that this convolution is shift- invariant iff g(t, m) = h(t − mt 0 ). You will have to explain what you mean by shift invariant.

  1. Let F denote an operator that maps a sequence x ∈ 2 (Z) into the sequence y = F x ∈ 2 (Z). The set 2 (Z) is the set of finite energy sequences: 2 (Z) = {x :

∑ |x|^2 [n] < ∞}. Examples are

  • y = F x : y[n] = (h ∗ x)[n] =

∑ h[n − m]x[m]

  • y = F x : y[n] = (Mθx)[n] = ejθnx[n]
  • y = F x : y[n] = (Tmx)[n] = x[n − m]

The inner product between two signals u and v is denoted < u, v > and defined as

∑ u[n]v∗[n]. Now consider the inner product < u, F v >. If this equals < F u, v >˜ for some operator F˜ , then F˜ is said to be the adjoint of F. If F˜ = F , then F is said to be self adjoint. If < F u, F u >=< u, u >, then F is said to be unitary. For a unitary operator, < F u, F u >=< u, F F u >˜ =< u, u >, so F F u˜ = u, or F F˜ = I, where I is the identity operator. In class I will draw some filtering diagrams to suggest that concatenations of operators and their adjoints are fundamental to signal processing. For each of the operators above, find the adjoint operator and classify the operator as self-adjoint, unitary. For the convolution operator, what is required for the operator to be unitary?

  1. Consider the signal x(t) =

∑M − 1 m=−(M −1) Amexp{j^2 πmf^0 t}.^ Our aim is to process x(t) to extract the complex coefficient A 0. Choose a sampler (with appropriate sampling rate), followed by a summing device, that returns A 0.

  1. For each of the following discrete-time operators, prove or disprove that the operator is linear. Then prove or disprove that the operator is shift invariant (or covariant), which is to say that the operator commutes with the delay operator. Then for all pairwise combinations of these 8 operators prove or disprove that the operators commute. - scale, (ax)[n] = ax[n] - delay, (T 1 x)[n] = x[n − 1] - complex modulate, (Mθx)[n] = ejnθx[n] - digital filter (or convolve), (h ∗ x)[n] =

∑ m h[n^ −^ m]x[m]

  • generalized sampler, (h ∗ x)[nt 0 ] =

∫ h(nt 0 − τ )x(τ )dτ

  • generalized interpolator, (h ∗ x)t 0 (t) =

∑ h(t − mt 0 )x[m]

  1. Begin with the unit pulse response sequence h[n], satisfying the 2- nd order ode h[n] − 2(.99) cos[^2 πn 8 ] + (.99)^2 h[n − 2] = δ[n]. Solve for h[0] and h[1], and derive a recursion for h[n], n ≥ 2. Then write h[n] = [A 1 λn 1 + A 2 λn 2 ]u[n], where u[n] is the unit step sequence. Deter- mine A 1 , A 2 , λ 1 , λ 2. Now determine the solution for h[n] when h[n] − 2(.99)cos[(2π/8)n] + (.99)^2 h[n − 2] = 2δ[n] − 1 δ[n − 1].

3 HW Set #3: due Thurs, Oct 21, 2008

Recommended Reading:

  1. Your lecture notes
  2. We have completed SKM, Ch 1 and Ch 2, 3.
  3. SKM, Ch 4,

Assigned Problems Mid-term due Oct 21, 2008

4 HW Set #4: due Tues, Nov 11, 2008

Recommended Reading:

  1. Read SKM, Ch 5, 6, 7

Assigned Problems

  1. Return to the definition of the discrete-time Hilbert transformer. We have already tried the impulse-invariant approximation (obtained by sampling the continuous-time Hilbert transformer) and found that alias- ing produces an unacceptable approximation. Now let’s try the frequency- sampled approximation by sampling H(ejθ) at θ = 0, 2 π/N, · · · , (N − 1)2π/N , and inverse DFTing for an FIR approximation to the discrete Hilbert transformer. To evaluate the complex frequency response, zero- pad h[n] to length 4N and then DFT. Explain your results.
  1. Design a 2nd order Butterworth filter with complex frequency response |H|^2 (ω) = (^) 1+(ω/^1106 ) 4. Then select an appropriate sampling rate 1/t 0 and design the corresponding impulse-invariant second order digital filter H(z). Invert for the unit pulse response h[n]. Zero pad the numerator and denominator polynomials of this filter and use the DFT to compute the exact complex frequency response of the filter. Compare this exact result (which reads the exact complex frequency response at samples of ω) with the result you would get by simply DFTing a truncated version of h[n].
  2. Select two real length-32 signals x and y and build from them the complex signal s. Use one of our twofer results to DFT s for S, extract the DFTs X and Y , and then invert each of these to return the original x and y.
  3. Select a real length-64 signal and subsample it to get two length- signals. Build a complex length-32 signal from these and DFT. Use the other twofer result to get the DFT of the original length-64 real signal. Inverse DFT to return the original length-64 real signal.
  4. Use the two real signals you used in Problem 3, and the DFTs you efficiently computed. Multiply them and inverse DFT for their circular convolution. Now zero pad one or both of them and repeat to get their linear convolution. Verify that your methods work by comparing with the time-domain circular and linear convolutions.
  5. Prove all properties of Table 5.3.