<< Chapter < Page Chapter >> Page >

Questions or comments concerning this laboratory should be directedto Prof. Charles A. Bouman, School of Electrical and Computer Engineering, Purdue University, West Lafayette IN 47907;(765) 494-0340; bouman@ecn.purdue.edu

Introduction

This is the first week of a two week laboratory that covers the Discrete Fourier Transform (DFT) and Fast Fourier Transform (FFT)methods. The first week will introduce the DFT and associated samplingand windowing effects, while thesecond week will continue the discussion of the DFT and introduce the FFT.

In previous laboratories, we have used the Discrete-Time Fourier Transform (DTFT) extensively foranalyzing signals and linear time-invariant systems.

(DTFT) X ( e j ω ) = n = - x ( n ) e - j ω n
(inverse DTFT) x ( n ) = 1 2 π - π π X ( e j ω ) e j ω n d ω .

While the DTFT is very useful analytically, it usually cannot be exactlyevaluated on a computer because [link] requires an infinite sum and [link] requires the evaluation of an integral.

The discrete Fourier transform (DFT) is a sampled version of the DTFT, hence it is better suited for numerical evaluation on computers.

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

Here X N ( k ) is an N point DFT of x ( n ) . Note that X N ( k ) is a function of a discrete integer k , where k ranges from 0 to N - 1 .

In the following sections, we will study the derivation of the DFT from the DTFT,and several DFT implementations. The fastest and most important implementation is known as the fast Fourier transform (FFT). The FFT algorithmis one of the cornerstones of signal processing.

Deriving the dft from the dtft

Truncating the time-domain signal

The DTFT usually cannot be computed exactly because the sum in [link] is infinite. However, the DTFT may be approximately computedby truncating the sum to a finite window. Let w ( n ) be a rectangular window of length N :

w ( n ) = 1 0 n N - 1 0 else .

Then we may define a truncated signal to be

x tr ( n ) = w ( n ) x ( n ) .

The DTFT of x tr ( n ) is given by:

X tr ( e j ω ) = n = - x tr ( n ) e - j ω n = n = 0 N - 1 x ( n ) e - j ω n .

We would like to compute X ( e j ω ) , but as with filter design, the truncation window distortsthe desired frequency characteristics; X ( e j ω ) and X tr ( e j ω ) are generally not equal. To understand the relation between these two DTFT's,we need to convolve in the frequency domain (as we did in designing filters with the truncationtechnique):

X tr ( e j ω ) = 1 2 π - π π X ( e j σ ) W ( e j ( ω - σ ) ) d σ

where W ( e j ω ) is the DTFT of w ( n ) . [link] is the periodic convolution of X ( e j ω ) and W ( e j ω ) . Hence the true DTFT, X ( e j ω ) , is smoothed via convolution with W ( e j ω ) to produce the truncated DTFT, X tr ( e j ω ) .

We can calculate W ( e j ω ) :

W ( e j ω ) = n = - w ( n ) e - j ω n = n = 0 N - 1 e - j ω n = 1 - e - j ω N 1 - e - j ω , for ω 0 , ± 2 π , ... N , for ω = 0 , ± 2 π , ...

For ω 0 , ± 2 π , ... , we have:

W ( e j ω ) = e - j ω N / 2 e - j ω / 2 e j ω N / 2 - e - j ω N / 2 e j ω / 2 - e - j ω / 2 = e - j ω ( N - 1 ) / 2 sin ( ω N / 2 ) sin ( ω / 2 ) .

Notice that the magnitude of this function is similar to sinc ( ω N / 2 ) except that it is periodic in ω with period 2 π .

Frequency sampling

[link] contains a summation over a finite number of terms. However, we can only evaluate [link] for a finite set of frequencies, ω . We must sample in the frequency domain to compute the DTFT on a computer.We can pick any set of frequency points at which to evaluate [link] , but it is particularly useful to uniformly sample ω at N points, in the range [ 0 , 2 π ) . If we substitute

Questions & Answers

I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
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