S71 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S7 · Lesson 1 · Sequences, LTI systems and the DTFT

Discrete-time systems and their properties, stability as absolute summability, complex exponentials as eigenfunctions, and the DTFT's symmetry, convergence and energy theorems

C9 introduced discrete-time signals and the DTFT as tools. This course treats them as the foundation of a discipline, at the depth of Oppenheim and Schafer: every filter design method, every spectrum analyzer and every sample-rate converter later in the course rests on a handful of exact statements about sequences and linear time-invariant systems. Which systems are stable, why complex exponentials pass through them unchanged in shape, what the DTFT of a sequence really converges to, and how energy is shared between time and frequency. This lesson states them carefully and shows where the edge cases bite.

  • The DTFT magnitude of a rectangular pulse of length L, |X(ejω)|=|sin⁡(Lω/2)sin⁡(ω/2)|, against frequency from −π to π.
  • The peak at ω = 0 is L (the sum of the samples); nulls fall at multiples of 2π/L, so a longer pulse has a narrower spectrum.
  • The sidelobes don't shrink as L grows: the first stays about 13 dB below the peak. That fixed ratio returns when windows are chosen for filter design and spectrum analysis.

Predict

A system has impulse response h[n] = 1/n for n ≥ 1 and zero otherwise. Is it BIBO stable?

Name it

LTI systems

A system is linear if it obeys superposition and time-invariant if shifting the input shifts the output. Then y[n]=∑kx[k]h[n−k]=x[n]*h[n], and

  • causal ⇔ h[n] = 0 for n < 0;
  • BIBO stable ⇔ ∑n=−∞∞|h[n]|<∞.

Eigenfunctions and frequency response

For x[n]=ejωn, y[n]=H(ejω)ejωn with H(ejω)=∑nh[n]e−jωn. A real sinusoid Acos⁡(ω0n+ϕ) through a real system becomes A|H(ejω0)|cos⁡(ω0n+ϕ+∠H(ejω0)).

The DTFT

X(ejω)=∑n=−∞∞x[n]e−jωn,x[n]=12π∫−ππX(ejω)ejωndω
  • Periodic in ω with period 2π.
  • Convergence: absolutely summable sequences have continuous DTFTs (uniform convergence). Square-summable ones, like the ideal lowpass filter's sin⁡ωcnπn, converge only in mean square, and their truncated sums overshoot at discontinuities (the Gibbs phenomenon, about 9% of the jump).
  • Symmetry: for real x[n], X(e−jω)=X*(ejω): even magnitude, odd phase.
  • Parseval: ∑|x[n]|2=12π∫−ππ|X(ejω)|2dω.

Useful pairs: anu[n]↔11−ae−jω (|a| < 1); a length-L rectangle ↔ e−jω(L−1)/2sin⁡(Lω/2)sin⁡(ω/2).

Worked example

h[n] = 0.8ⁿu[n]. Is it stable, and what's its frequency response at 0, π/2 and π?

Show the solution
  1. Stability. Sum the impulse response: ∑n0.8n=11−0.8=5 That's finite, so the system is stable.
  2. Frequency response. H(ejω)=11−0.8e−jω
  3. At ω = 0 and π. H(ej0)=11−0.8=5 H(ejπ)=11.8=0.556
  4. At ω = π/2. H(ejπ/2)=11+0.8j=0.781∠−38.7° That makes it a lowpass filter.
  5. Energy. ∑nh2[n]=∑n0.64n=2.78 Parseval says this must equal the average of |H|2 over a period.

Answer it's stable, and its response is 5 at ω = 0, 0.781 at −38.7° at π/2 and 0.556 at π: a lowpass filter, with energy 2.78.

Worked example

A rectangular pulse has 8 samples of value 1. What's its DTFT magnitude at 0, at π/8 and at π/4?

Show the solution
  1. At ω = 0. The DTFT at zero is the sum of the samples, 8.
  2. At π/8. |X|=sin⁡(π/2)sin⁡(π/16)=10.195=5.13
  3. At π/4. π/4 = 2π/8 is the first null, so the magnitude is 0.
  4. Main lobe width. The spectrum's main lobe spans ±π/4, so doubling the pulse to 16 samples would halve that width.

Answer the magnitude is 8 at ω = 0, 5.13 at π/8 and 0 at π/4.

Worked example

A four-point moving average has h[n] = ¼ for n = 0 to 3. What is its response at ω = π/4 and π/2, its group delay and the energy of h?

Show the solution
  1. Magnitude response. |H(ejω)|=|sin⁡2ω4sin⁡(ω/2)|
  2. At π/4. |H|=14sin⁡(π/8)=0.653
  3. At π/2. The numerator is sin π = 0, an exact null.
  4. Group delay. The phase is −1.5ω, a constant group delay of 1.5 samples.
  5. Energy. ∑h2=4×116=0.25 Averaging four samples cuts white noise's power to a quarter.

Answer the response is 0.653 at π/4 and an exact null at π/2; the group delay is 1.5 samples and the energy of h is 0.25.

Check

A system has h[n] = (−0.8)ⁿu[n]. What's ∑|h[n]|?

Check

What's |H(ejω)| for h[n] = (0.8)ⁿu[n] at ω = 0.5 rad?

Check

What's the energy ∑|h[n]|2 of h[n] = (0.7)ⁿu[n]?

Check

A length-10 rectangular pulse of ones: what's |X(ejω)| at ω = 0.3π/10?

Check

The input 1cos⁡(1.5n) drives h[n] = (0.5)ⁿu[n]. What's the amplitude of the steady-state output?

Check

What's the group delay of h[n] = (0.8)ⁿu[n] at ω = 0.2 rad, in samples?

Check

A system has h[n] = (0.8)ⁿu[n]; consider ω = 0.3 rad.

(a)

What is |H(ejω)|?

(b)

What is its phase?

Check

A system has h[n] = aⁿu[n].

Step 1

What is its DC gain H(1)?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does the ideal lowpass filter's DTFT sum converge only in a mean-square sense?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.