The development of the DFT

From Class Wiki
Jump to navigation Jump to search

If we have a signal, such as following:

Error creating thumbnail: File missing

How do we put it into computer?

We can use A/D converter and a low pass filter to sample the signal that is wanted instead of from t=−∞to∞:

Error creating thumbnail: File missing

But then we have to make it periodic, so we convolve it with impulse function with NT apart to have impulse function in both time and frequency domain:

Error creating thumbnail: File missing

From the equations of final signal in both time and frequency domain, we can see that in the computer we have x(n) and in the frequency domain:

∑n=0N−1x(nT)e−j2πfnT⋅1NT∑m=−∞∞δ(f−nNT)=∑m=−∞∞1NT∑n=0N−1x(nT)e−j2πmNTnTδ(f−nNT)

Then the areas of the impulse functions is:

∑n=0N−1x(n)e−j2πnmN

Which is the definition of the DFT(x(n)).

Property of the DFT

  • DFT is periodic.

Proof:

X(m+N)=∑n=0N−1x(n)e−j2πn(m+N)N=∑n=0N−1x(n)e−j2πnmNe−j2πnNN=∑n=0N−1x(n)e−j2πnmN=X(m)

Inverse DFT

Let's try to get back x(l) if we have X(m)

X(m)=∑n=0N−1x(n)e−j2πnmN

Let's try do some trick to this DFT, let's sum it up and with exponents tag along.

∑m=0N−1X(m)ej2πlmN=∑m=0N−1∑n=0N−1x(n)e−j2πnmNej2πlmN=∑n=0N−1x(n)∑m=0N−1ej2π(l−n)mN

Note: ∑m=0N−1ej2π(l−n)mN will be N if l=n.

Let ej2π(l−n)mN=rm then r=ej2π(l−n)N

So we know the sum of rm=S=1+r+r2+r3+...+rN−1

Therefore, we can divide r at both side of equation and get S−1r=S−rN−1,S(1r−1)=1r−rN−1,S=1−rN1−r

Think about this, if l≠n,r=ej2π(l−n)N,S=1−ej2π(l−n)1−ej2π(l−n)N=0, since ej2π(l−n)=1 for any integer of l and n.

So ∑m=0N−1X(m)ej2πlmN=∑n=0N−1x(n)Nδn,l=Nx(l)

x(l)=1N∑m=0N−1X(m)ej2πlmN≡IDFT(X(m))

Key points to note:

  • By doing the DFT, we make the signal periodic in both time domain and frequency domain.

X(m+N)=X(m),x(n+N)=x(n)

  • X(m)form>N2 corresponds to X(m−N)

Approximation of Fourier integral

We can kind of see the DFT as an approximation to the Fourier integral.

X(m)=∑n=0N−1x(n)e−j2πnmN=1T∑n=−N2N−1−N2x(n)e−j2πnTmNTT≅1T∫−NT2NT2x(t)e−j2πtfdt