The development of the DFT

From Class Wiki
Revision as of 17:19, 30 November 2008 by Tsung-lin.yang (talk | contribs) (Inverse DFT)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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=0N1x(nT)ej2πfnT1NTm=δ(fnNT)=m=1NTn=0N1x(nT)ej2πmNTnTδ(fnNT)

Then the areas of the impulse functions is:

n=0N1x(n)ej2πnmN

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

Property of the DFT

  • DFT is periodic.

Proof:

X(m+N)=n=0N1x(n)ej2πn(m+N)N=n=0N1x(n)ej2πnmNej2πnNN=n=0N1x(n)ej2πnmN=X(m)

Inverse DFT

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

X(m)=n=0N1x(n)ej2πnmN

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

m=0N1X(m)ej2πlmN=m=0N1n=0N1x(n)ej2πnmNej2πlmN=n=0N1x(n)m=0N1ej2π(ln)mN

Note: m=0N1ej2π(ln)mN will be N if l=n.

Let ej2π(ln)mN=rm then r=ej2π(ln)N

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

Therefore, we can divide r at both side of equation and get S1r=SrN1,S(1r1)=1rrN1,S=1rN1r

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

So m=0N1X(m)ej2πlmN=n=0N1x(n)Nδn,l=Nx(l)

x(l)=1Nm=0N1X(m)ej2πlmNIDFT(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(mN)

Approximation of Fourier integral

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

X(m)=n=0N1x(n)ej2πnmN=1Tn=N2N1N2x(n)ej2πnTmNTT1TNT2NT2x(t)ej2πtfdt