(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:discrete Fourier transform]]
 +
[[Category:ECE438Fall2009mboutin]]
 +
[[Category:ECE438]]
 +
[[Category:digital signal processing]]
 +
 +
=Notes on Discrete Fourier Transform=
 +
From [[ECE301|ECE301:"Signals and Systems"]] lecture by [[user:mboutin|Prof. Boutin]], Fall 2009.
 +
 +
Click here to visit the [[ECE438_(BoutinFall2009)|ECE301 Fall 2009 course wiki]].
 +
----
 
4) Discrete Fourier Transform
 
4) Discrete Fourier Transform
  
Line 7: Line 17:
 
<math> x [n] = (1/N) \sum_{k=0}^{N-1} X[k].e^{J.2pi.kn/N}</math>
 
<math> x [n] = (1/N) \sum_{k=0}^{N-1} X[k].e^{J.2pi.kn/N}</math>
  
Derivation:
+
'''Derivation:'''
  
 
Digital signal are :
 
Digital signal are :
Line 33: Line 43:
 
let <math> m = n - lN : </math>
 
let <math> m = n - lN : </math>
  
<math> X(k.2pi/N) = \sum_{l=-\infty}^{infty} \sum_{m=0}^{N-1} x[m+lN].e^{-J.2pi.k.(m+lN)/N}</math>
+
<math> X(k.2pi/N) = \sum_{l=-\infty}^{\infty} \sum_{m=0}^{N-1} x[m+lN].e^{-J.2pi.k.(m+lN)/N}</math>
  
         <math> = \sum_{l=-\infty}^{infty} \sum_{m=0}^{N-1} x[m+lN].e^{-J.2pi.km/N}</math> since <math> e^{-J.2pi.k.l}</math> is always = 1 because k.l is always integer
+
         <math> = \sum_{l=-\infty}^{\infty} \sum_{m=0}^{N-1} x[m+lN].e^{-J.2pi.km/N}</math> since <math> e^{-J.2pi.k.l}</math> is always = 1 because k.l is always integer
  
 
  and <math> e^{J*2pi} = \cos (2*pi) + j \sin (2*pi) = 1</math>  
 
  and <math> e^{J*2pi} = \cos (2*pi) + j \sin (2*pi) = 1</math>  
Line 44: Line 54:
  
 
Also Note that <math> x_{p}[n] </math> is the periodic repetition of <math> x[n] </math> if <math> x[n] </math>
 
Also Note that <math> x_{p}[n] </math> is the periodic repetition of <math> x[n] </math> if <math> x[n] </math>
has a finite duration of N
+
has a finite duration of N.
 +
 
 +
--------------------------------------------------------------------------------------------
 +
 
 +
Note that <math> x_{p}[n] </math> can be recovered from Sampling <math> X(k.2pi/N)</math>
 +
 
 +
Because :
 +
 
 +
<math> X(k.2pi/N) = \sum_{n=0}^{N-1} x_{p}[n].e^{-J.2pi.kn/N}</math>. Mutiply both sides by <math> \sum_{k=0}^{N-1} e^{J.2pi.km/N}</math>
 +
<math> \sum_{k=0}^{N-1} e^{J.2pi.km/N} X(k.2pi/N) = \sum_{k=0}^{N-1} e^{J.2pi.km/N} \sum_{n=0}^{N-1} x_{p}[n].e^{-J.2pi.kn/N} </math>
 +
 
 +
<math>\sum_{n=0}^{N-1} \sum_{k=0}^{N-1} x_{p}[n].e^{-J.2pi.k.(n-m)/N}</math>
 +
 
 +
<math>\sum_{n=0}^{N-1} x_{p}[n] \sum_{k=0}^{N-1}(e^{-J.2pi.(n-m)/N})^{k}</math>
 +
 
 +
<math> \sum_{k=0}^{N-1}(e^{-J.2pi.(n-m)/N})^{k} = </math>
 +
 
 +
* <math> N </math> if m = n
 +
* <math> (1-e^{-J.2pi.(n-m)N/N}) / (1-e^{-J.2pi.(n-m)N})</math>  else
 +
 
 +
since <math> e^{-J.2pi.(n-m)N/N} </math> is always = 1, <math> (1-e^{-J.2pi.(n-m)N/N}) / (1-e^{-J.2pi.(n-m)N}) = 0</math>
 +
 
 +
As a result:
 +
 
 +
<math>\sum_{n=0}^{N-1} x_{p}[n] \sum_{k=0}^{N-1}(e^{-J.2pi.(n-m)/N})^{k} = N.\sum_{n=0}^{N-1} x_{p}[n] = N.x_{p}[m]</math>
 +
 
 +
<math> x_{p}[n] = (1/N). \sum_{k=0}^{N-1} X(k.2pi/N).e^{J.2pi.kn/N}</math>
  
 +
So,
  
 +
<math>X(k) = X(k.2pi/N)</math>
  
<math> S_{\tau}(t) = P_{T}(t) = \sum_{K=-\infty}^{\infty} \delta (t - KT)</math> [Eq. 2]
+
<math> x_{p}[n] > DFT > X(k)</math>
 +
----
 +
[[ECE438_(BoutinFall2009)|Back to ECE301 Fall 2009]]

Latest revision as of 12:17, 2 December 2011


Notes on Discrete Fourier Transform

From ECE301:"Signals and Systems" lecture by Prof. Boutin, Fall 2009.

Click here to visit the ECE301 Fall 2009 course wiki.


4) Discrete Fourier Transform

Definition: let x[n] be a DT signal with Period N.

$ X [k] = \sum_{k=0}^{N-1} x[n].e^{-J.2pi.kn/N} $

$ x [n] = (1/N) \sum_{k=0}^{N-1} X[k].e^{J.2pi.kn/N} $

Derivation:

Digital signal are :

  • Finite Duration
  • Discrete

So the idea is, we need to discretize (ie sample) the Fourier Transform

$ X(w) = \sum_{n=-\infty}^{\infty} x[n].e^{-Jwn} >^{sampling}> X(k.2pi/N) = \sum x[n].e^{-J2pi.n.k/N} $

Note: if X(w) is band-limited and if N is big enough, we can reconstruct X(w)


Observe that : $ X(k.2pi/N) = \sum_{n=0}^{N-1} x_{p}[n].e^{-J.2pi.kn/N} $, where $ x_{p}[n] = \sum_{-\infty}^{\infty} x[n-lN] $ is periodic with N

The reason behind this is as follow: $ X(k.2p/N) = \sum_{n =-\infty}^{\infty} x[n].e^{-J.2pi.kn/N} $

        $  = . . . . . + \sum_{n = -N}^{-1} x[n].e^{-J2pi.k.n/N} + \sum_{n = 0}^{N-1} x[n].e^{-J.2pi.kn/N} $
        $  = \sum_{l=-\infty}^{\infty} \sum_{n=lN}^{lN+N-1} x[n].e^{-J.2pi.kn/N} $

let $ m = n - lN : $

$ X(k.2pi/N) = \sum_{l=-\infty}^{\infty} \sum_{m=0}^{N-1} x[m+lN].e^{-J.2pi.k.(m+lN)/N} $

        $  = \sum_{l=-\infty}^{\infty} \sum_{m=0}^{N-1} x[m+lN].e^{-J.2pi.km/N} $ since $  e^{-J.2pi.k.l} $ is always = 1 because k.l is always integer
and $  e^{J*2pi} = \cos (2*pi) + j \sin (2*pi) = 1 $ 
        $  = \sum_{m = 0}^{N-1}(\sum_{l=-\infty}^{\infty} x[m+lN]).e^{-J.2pi.km/N} $

As a result: $ x_{p}[n] = \sum_{l=-\infty}^{\infty} x(m + lN) $

Also Note that $ x_{p}[n] $ is the periodic repetition of $ x[n] $ if $ x[n] $ has a finite duration of N.


Note that $ x_{p}[n] $ can be recovered from Sampling $ X(k.2pi/N) $

Because :

$ X(k.2pi/N) = \sum_{n=0}^{N-1} x_{p}[n].e^{-J.2pi.kn/N} $. Mutiply both sides by $ \sum_{k=0}^{N-1} e^{J.2pi.km/N} $ $ \sum_{k=0}^{N-1} e^{J.2pi.km/N} X(k.2pi/N) = \sum_{k=0}^{N-1} e^{J.2pi.km/N} \sum_{n=0}^{N-1} x_{p}[n].e^{-J.2pi.kn/N} $

$ \sum_{n=0}^{N-1} \sum_{k=0}^{N-1} x_{p}[n].e^{-J.2pi.k.(n-m)/N} $

$ \sum_{n=0}^{N-1} x_{p}[n] \sum_{k=0}^{N-1}(e^{-J.2pi.(n-m)/N})^{k} $

$ \sum_{k=0}^{N-1}(e^{-J.2pi.(n-m)/N})^{k} = $

  • $ N $ if m = n
  • $ (1-e^{-J.2pi.(n-m)N/N}) / (1-e^{-J.2pi.(n-m)N}) $ else

since $ e^{-J.2pi.(n-m)N/N} $ is always = 1, $ (1-e^{-J.2pi.(n-m)N/N}) / (1-e^{-J.2pi.(n-m)N}) = 0 $

As a result:

$ \sum_{n=0}^{N-1} x_{p}[n] \sum_{k=0}^{N-1}(e^{-J.2pi.(n-m)/N})^{k} = N.\sum_{n=0}^{N-1} x_{p}[n] = N.x_{p}[m] $

$ x_{p}[n] = (1/N). \sum_{k=0}^{N-1} X(k.2pi/N).e^{J.2pi.kn/N} $

So,

$ X(k) = X(k.2pi/N) $

$ x_{p}[n] > DFT > X(k) $


Back to ECE301 Fall 2009

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett