<< Chapter < Page Chapter >> Page >
x ( n ) = sin ( 0 . 1 π n ) 0 n 49 0 otherwise

In the following, you will compute the DTFT samples of x ( n ) using both N = 50 and N = 200 point DFT's. Notice that when N = 200 , most of the samples of x ( n ) will be zeros because x ( n ) = 0 for n 50 . This technique is known as “zero padding”, and may be used toproduce a finer sampling of the DTFT.

For N = 50 and N = 200 , do the following:

  1. Compute the vector x containing the values x ( 0 ) , , x ( N - 1 ) .
  2. Compute the samples of X ( k ) using your function DTFTsamples .
  3. Plot the magnitude of the DTFT samples versus frequency in rad/sample.
Submit your two plots of the DTFT samples for N = 50 and N = 200 . Which plot looks more like the true DTFT?Explain why the plots look so different.

The fast fourier transform algorithm

We have seen in the preceding sections that the DFT is a very computationally intensiveoperation. In 1965, Cooley and Tukey ( [link] ) published an algorithm that couldbe used to compute the DFT much more efficiently. Various forms of their algorithm,which came to be known as the fast Fourier transform (FFT), had actually been developed much earlier by other mathematicians (even dating back toGauss). It was their paper, however, which stimulated a revolution in the field of signal processing.

It is important to keep in mind at the outset that the FFT is not a new transform. It is simply a very efficient way to compute an existingtransform, namely the DFT. As we saw, a straight forward implementation of the DFT canbe computationally expensive because the number of multiplies grows as the square of the input length (i.e. N 2 for an N point DFT). The FFT reduces this computation using two simple but importantconcepts. The first concept, known as divide-and-conquer,splits the problem into two smaller problems. The second concept, known as recursion, applies this divide-and-conquermethod repeatedly until the problem is solved.

Consider the defining equation for the DFT and assume that N is even, so that N / 2 is an integer:

X ( k ) = n = 0 N - 1 x ( n ) e - j 2 π k n / N .

Here we have dropped the subscript of N in the notation for X ( k ) . We will also use the notation

X ( k ) = DFT N x ( n )

to denote the N point DFT of the signal x ( n ) .

Suppose we break the sum in [link] into two sums, one containing all the terms for which n is even, and one containing all the terms for which n is odd:

X ( k ) = n = 0 n even N - 1 x ( n ) e - j 2 π k n / N + n = 0 n odd N - 1 x ( n ) e - j 2 π k n / N .

We can eliminate the conditions “ n even” and “ n odd” in [link] by making a change of variable in each sum. In the first sum, we replace n by 2 m . Then as we sum m from 0 to N / 2 - 1 , n = 2 m will take on all even integer values between 0 and N - 2 . Similarly, in the second sum, we replace n by 2 m + 1 . Then as we sum m from 0 to N / 2 - 1 , n = 2 m + 1 will take on all odd integer values between 0 and N - 1 . Thus, we can write

X ( k ) = m = 0 N / 2 - 1 x ( 2 m ) e - j 2 π k 2 m / N + m = 0 N / 2 - 1 x ( 2 m + 1 ) e - j 2 π k ( 2 m + 1 ) / N .

Next we rearrange the exponent of the complex exponential in the first sum, and split and rearrange the exponent in the second sum to yield

X ( k ) = m = 0 N / 2 - 1 x ( 2 m ) e - j 2 π k m / ( N / 2 ) + e - j 2 π k / N m = 0 N / 2 - 1 x ( 2 m + 1 ) e - j 2 π k m / ( N / 2 ) .

Now compare the first sum in [link] with the definition for the DFT given by [link] . They have exactly the same form if we replace N everywhere in [link] by N / 2 . Thus the first sum in [link] is an N / 2 point DFT of the even-numbered data points in the original sequence. Similarly, the second sumin [link] is an N / 2 point DFT of the odd-numbered data points in the original sequence. To obtain the N point DFT of the complete sequence, we multiply the DFT of the odd-numbered data pointsby the complex exponential factor e - j 2 π k / N , and then simply sum the two N / 2 point DFTs.

Questions & Answers

what is biology
daniel Reply
what is diffusion
Emmanuel Reply
passive process of transport of low-molecular weight material according to its concentration gradient
AI-Robot
what is production?
Catherine
Pathogens and diseases
how did the oxygen help a human being
Achol Reply
how did the nutrition help the plants
Achol Reply
Biology is a branch of Natural science which deals/About living Organism.
Ahmedin Reply
what is phylogeny
Odigie Reply
evolutionary history and relationship of an organism or group of organisms
AI-Robot
ok
Deng
what is biology
Hajah Reply
cell is the smallest unit of the humanity biologically
Abraham
what is biology
Victoria Reply
what is biology
Abraham
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Purdue digital signal processing labs (ece 438). OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10593/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Purdue digital signal processing labs (ece 438)' conversation and receive update notifications?

Ask