MIT 6.300 — Lecture 7

DT Fourier Transform

§ Lecture: The DT Fourier Transform

Let's do it all again for DT. You might take the following as a prototypical example.

f[n]:={1 if n∈{−2,−1,0,1,2}.0 otherwise.f[n] := \begin{cases} 1 & \text{ if } n \in \{-2, -1, 0, 1, 2\}. \\ 0 & \text{ otherwise.} \end{cases}

The goal, as before, is to express f[n]f[n] as a sum (or rather, integral) of complex exponentials, even though f[n]f[n] is aperiodic.

We'll just cut straight to the punchline this time.

Theorem. (DT Fourier Transform) Given a DT signal f[n]f[n], define its Fourier transform to be F(Ω):=∑n=−∞∞f[n]e−jΩnF(\Omega) := \sum_{n = -\infty}^{\infty} f[n] e^{-j \Omega n}. It then follows that f[n]=12π∫02πF(Ω)ejΩn dΩf[n] = \frac{1}{2\pi} \int_{0}^{2\pi} F(\Omega) e^{j \Omega n} \, \mathrm{d}\Omega.

Remark. Even though the signal f[n]f[n] is discrete and possibly aperiodic, the Fourier transform F(Ω)F(\Omega) is continuous and guaranteed periodic with period 2π2\pi.

Proof: Our strategy is the same as last time: consider signals fN[n]f_N[n] that are extensions of f[n]f[n] to have period NN, take the DT Fourier series of fN[n]f_N[n], and investigate the series for N→∞N \to \infty.

The DT Fourier series for fN[n]f_N[n] looks like:

fN[n]=∑k∈⟨N⟩FN[k]ejn(2πk/N)  where  FN[k]=1N∑n∈⟨N⟩fN[n]e−jn(2πk/N).f_N[n] = \sum_{k \in \langle N \rangle} F_N[k] e^{jn \textcolor{#bf0140}{(2\pi k / N)}} ~ \text{ where } ~ F_N[k] = \frac{1}{N} \sum_{n \in \langle N \rangle} f_N[n] e^{-jn \textcolor{#bf0140}{(2\pi k / N)}}.

Here, ⟨N⟩\langle N \rangle denotes a set of NN consecutive integers roughly centered at zero. Remember that for DT Fourier series, FN[k]F_N[k] is a finite array of length NN, or equivalently, an infinite array with period NN.

Let's follow the recipe from last time: take F(Ω):=lim⁡N→∞N⋅FN[k]F(\Omega) := \lim_{N \to \infty} N \cdot F_N[k], where the continuous frequency variable Ω:=2πk/N\textcolor{#bf0140}{\Omega := 2\pi k / N} is held fixed as N→∞N \to \infty (so the index kk grows in proportion to NN). Then:

F(Ω)=lim⁡N→∞N⋅(1N∑n∈⟨N⟩fN[n]e−jn(2πk/N))=lim⁡N→∞∑n∈⟨N⟩fN[n]e−jnΩ=∑n=−∞∞f[n]e−jnΩ.F(\Omega) = \lim_{N \to \infty} N \cdot \left( \frac{1}{N} \sum_{n \in \langle N \rangle} f_N[n] e^{-jn \textcolor{#bf0140}{(2\pi k / N)}} \right) = \lim_{N \to \infty} \sum_{n \in \langle N \rangle} f_N[n] e^{-jn \textcolor{#bf0140}{\Omega}} = \sum_{n = -\infty}^{\infty} f[n] e^{-jn \textcolor{#bf0140}{\Omega}}.

Just as promised. Now make the parametrization {Ωk}k∈⟨N⟩\{\Omega_k\}_{k \in \langle N \rangle} where Ωk:=2πk/N\textcolor{#bf0140}{\Omega_k := 2\pi k / N}. Noting that ΔΩ:=Ωk+1−Ωk=2π/N\Delta \Omega := \Omega_{k + 1} - \Omega_k = 2\pi / N and sending N→∞N \to \infty, the Fourier series becomes:

f[n]=lim⁡N→∞fN[n]=lim⁡N→∞∑k∈⟨N⟩FN[k]ejn(2πk/N)=lim⁡N→∞12π∑k∈⟨N⟩F(Ωk)ejnΩkΔΩ=12π∫⟨2π⟩F(Ω)ejnΩ dΩ.\begin{align*}f[n] = \lim_{N \to \infty} f_N[n] & = \lim_{N \to \infty} \sum_{k \in \langle N \rangle} F_N[k] e^{jn \textcolor{#bf0140}{(2\pi k / N)}} \\ & = \lim_{N \to \infty} \frac{1}{2\pi} \sum_{k \in \langle N \rangle} F(\Omega_k) e^{jn\textcolor{#bf0140}{\Omega_k}} \Delta \Omega = \frac{1}{2\pi} \int_{\langle 2\pi \rangle} F(\Omega) e^{jn \textcolor{#bf0140}{\Omega}} \, \mathrm{d}\Omega.\end{align*}

Just as promised. Here, ⟨2π⟩\langle 2\pi \rangle refers to any interval of length 2π2\pi; it appears because the set of frequencies {Ωk}k∈⟨N⟩\{\Omega_k\}_{k \in \langle N \rangle} covers an interval of length 2π2\pi in the limit N→∞N \to \infty.   ■\blacksquare

Problem. Compute the DT Fourier transform of the following DT signal, where SS is a positive integer.

f[n]:={1 if ∣n∣≤S.0 otherwise.f[n] := \begin{cases} 1 & \text{ if } |n| \leq S. \\ 0 & \text{ otherwise.} \end{cases}

Solution: The analysis equation gives us:

F(Ω)=∑n=−SS(e−jΩ)n=ejSΩ(1−e−(2S+1)jΩ1−e−jΩ)=e(S+12)jΩ−e−(S+12)jΩe12jΩ−e−12jΩ=sin⁡((S+12)Ω)sin⁡(12Ω).F(\Omega) = \sum_{n = -S}^{S} \left(e^{-j\Omega}\right)^n = e^{jS\Omega} \left(\frac{1 - e^{- (2S + 1)j\Omega}}{1 - e^{-j \Omega}}\right) = \frac{ e^{(S + \frac{1}{2})j \Omega} - e^{-(S + \frac{1}{2})j \Omega} }{ e^{\frac{1}{2}j \Omega} - e^{-\frac{1}{2}j \Omega} } = \frac{\sin\left(\left(S + \frac{1}{2}\right)\Omega\right)}{\sin\left(\frac{1}{2}\Omega\right)}.

Here, we simplify a finite geometric series, then multiply the numerator and denominator by ejΩ/2e^{j \Omega / 2} to reach a quotient of sines.   ■\blacksquare

§ Lecture and Recitation: Properties of the DT Fourier Transform

Here's what the Fourier transforms of the f[n]f[n] signal from the previous example look like for different values of SS.

Because we're working with DT signals, it's hard to formally put into words the time-scaling property.

Other than time-scaling and duality, all of the other CT Fourier transform properties can be ported over to DT easily. (Proofs are obvious.)

Theorem. (Even / Odd) If f[n]f[n] is real and even, F(Ω)F(\Omega) is real and even. If f[n]f[n] is real and odd, F(Ω)F(\Omega) is imaginary and odd.

Theorem. (Hermitian Symmetry) If f[n]f[n] is real, then F(−Ω)=F(Ω)‾F(-\Omega) = \overline{F(\Omega)} for all Ω\Omega.

Theorem. (DT Areas) The value of f[0]f[0] is 12π∫02πF(Ω) dΩ\frac{1}{2\pi} \int_0^{2\pi} F(\Omega) \, \mathrm{d}\Omega, and the value of F(0)F(0) is ∑n=−∞∞f[n]\sum_{n = -\infty}^{\infty} f[n].

Theorem. (Time Delay) The FT of f[n−n0]f[n - n_0] is e−jΩn0F(Ω)e^{-j \Omega n_0} F(\Omega).

Theorem. (Derivative FT) If the FT of f[n]f[n] is F(Ω)F(\Omega), then the FT of g[n]:=nf[n]g[n] := n f[n] is G(Ω)=jF′(Ω)G(\Omega) = j F'(\Omega).

Theorem. (Kronecker Delta FT) Let the Kronecker delta function δ[n]\delta[n] be defined so that δ[0]=1\delta[0] = 1 and δ[k]=0\delta[k] = 0 for all k≠0k \neq 0. The FT of δ[n]\delta[n] is the constant function F(Ω)=1F(\Omega) = 1.

Theorem. (Periodic DT) Suppose f[n]f[n] is a periodic signal with Fourier coefficients F[k]F[k], so that f[n]=∑k=0N−1F[k]ejn(2πk/N)f[n] = \sum_{k = 0}^{N - 1} F[k] e^{jn(2\pi k/N)}. Then, treating F[k]F[k] as an infinite array with period NN, the Fourier transform of f[n]f[n] is F(Ω)=∑k=−∞∞2πF[k]δ(Ω−2πkN)F(\Omega) = \sum_{k = -\infty}^{\infty} 2\pi F[k] \delta\left(\Omega - \frac{2\pi k}{N}\right).

Here's what that last theorem looks like visually.