<< Chapter < Page Chapter >> Page >

Relationship between continuous-time ft and dft

The goal of spectrum analysis is often to determine the frequency content of an analog (continuous-time) signal; very often, as in most modern spectrum analyzers, this is actually accomplished by sampling the analog signal, windowing (truncating) the data, and computing and plotting the magnitude of its DFT.It is thus essential to relate the DFT frequency samples back to the original analog frequency. Assuming that the analog signal is bandlimited and the sampling frequency exceeds twice that limit so that no frequency aliasing occurs, the relationship betweenthe continuous-time Fourier frequency Ω (in radians) and the DTFT frequency ω imposed by sampling is ω Ω T where T is the sampling period. Through the relationship ω k 2 k N between the DTFT frequency ω and the DFT frequency index k , the correspondence between the DFT frequency index and the original analog frequency can be found: Ω 2 k N T or in terms of analog frequency f in Hertz (cycles per second rather than radians) f k N T for k in the range k between 0 and N 2 . It is important to note that k N 2 1 N 1 correspond to negative frequencies due to the periodicity of the DTFT and the DFT.

In general, will DFT frequency values X k exactly equal samples of the analog Fourier transform X a at the corresponding frequencies? That is, will X k X a 2 k N T ?

In general, NO . The DTFT exactly corresponds to the continuous-time Fourier transform only when the signal is bandlimited and sampled at more than twice its highest frequency. The DFT frequency values exactly correspond to frequency samples of the DTFTonly when the discrete-time signal is time-limited. However, a bandlimited continuous-time signal cannot be time-limited, so ingeneral these conditions cannot both be satisfied.

It can, however, be true for a small class of analog signals which are not time-limited but happen to exactly equal zero at all sample times outside of the interval n 0 N 1 . The sinc function with a bandwidth equal to the Nyquist frequency and centered at t 0 is an example.

Got questions? Get instant answers now!

Zero-padding

If more than N equally spaced frequency samples of a length- N signal are desired, they can easily be obtained by zero-padding the discrete-time signal and computing a DFT of the longer length.In particular, if L N DTFT samples are desired of a length- N sequence, one can compute the length- L N DFT of a length- L N zero-padded sequence z n x n 0 n N 1 0 N n L N 1 X w k 2 k L N n N 1 0 x n 2 k n L N n L N 1 0 z n 2 k n L N DFT L N z n Note that zero-padding interpolates the spectrum. One should always zero-pad (by about at least a factor of 4) whenusing the DFT to approximate the DTFT to get a clear picture of the DTFT . While performing computations on zeros may at first seem inefficient,using FFT algorithms, which generally expect the same number of input and output samples, actually makes thisapproach very efficient.

shows the magnitude of the DFT values corresponding to the non-negative frequencies of a real-valued length-64 DFT of a length-64 signal,both in a "stem" format to emphasize the discrete nature of the DFT frequency samples, and as a line plot to emphasize its use as an approximation to thecontinuous-in-frequency DTFT. From this figure, it appears that the signal has a single dominantfrequency component.

Spectrum without zero-padding

Stem plot

Line plot

Magnitude DFT spectrum of 64 samples of a signal with a length-64 DFT (no zero padding)
Zero-padding by a factor of two by appending 64 zero values to the signal and computing a length-128 DFT yields . It can now be seen that the signal consists of at least two narrowbandfrequency components; the gap between them fell between DFT samples in , resulting in a misleading picture of the signal's spectral content.This is sometimes called the picket-fence effect , and is a result of insufficient sampling in frequency.While zero-padding by a factor of two has revealed more structure, it is unclear whether the peak magnitudes are reliably rendered, andthe jagged linear interpolation in the line graph does not yet reflect the smooth, continuously-differentiable spectrum of the DTFTof a finite-length truncated signal. Errors in the apparent peak magnitude due to insufficient frequency samplingis sometimes referred to as scalloping loss .

Spectrum with factor-of-two zero-padding

Stem plot

Line plot

Magnitude DFT spectrum of 64 samples of a signal with a length-128 DFT (double-length zero-padding)
Zero-padding to four times the length of the signal, as shown in , clearly shows the spectral structure and reveals that the magnitude ofthe two spectral lines are nearly identical. The line graph is still a bit rough and the peak magnitudes and frequenciesmay not be precisely captured, but the spectral characteristics of the truncated signal are now clear.

Spectrum with factor-of-four zero-padding

Stem plot

Line plot

Magnitude DFT spectrum of 64 samples of a signal with a length-256 zero-padded DFT (four times zero-padding)
Zero-padding to a length of 1024, as shown in yields a spectrum that is smooth and continuous to the resolution of the computer screen, and produces a very accurate rendition of the DTFT ofthe truncated signal.

Spectrum with factor-of-sixteen zero-padding

Stem plot

Line plot

Magnitude DFT spectrum of 64 samples of a signal with a length-1024 zero-padded DFT.The spectrum now looks smooth and continuous and reveals all the structure of the DTFT of a truncated signal.
The signal used in this example actually consisted of two pure sinusoids of equal magnitude.The slight difference in magnitude of the two dominant peaks, the breadth of the peaks, and the sinc-like lesser side lobe peaks throughout frequency are artifacts of the truncation, or windowing, process used to practically approximate the DFT.These problems and partial solutions to them are discussed in the following section.

Questions & Answers

A golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
Aislinn Reply
cm
tijani
what is titration
John Reply
what is physics
Siyaka Reply
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Jude Reply
Can you compute that for me. Ty
Jude
what is the dimension formula of energy?
David Reply
what is viscosity?
David
what is inorganic
emma Reply
what is chemistry
Youesf Reply
what is inorganic
emma
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
Krampah Reply
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
Sahid Reply
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
Samuel Reply
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Joseph Reply
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
Ryan
what's motion
Maurice Reply
what are the types of wave
Maurice
answer
Magreth
progressive wave
Magreth
hello friend how are you
Muhammad Reply
fine, how about you?
Mohammed
hi
Mujahid
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
yasuo Reply
Who can show me the full solution in this problem?
Reofrir 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, The dft, fft, and practical spectral analysis. OpenStax CNX. Feb 22, 2007 Download for free at http://cnx.org/content/col10281/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'The dft, fft, and practical spectral analysis' conversation and receive update notifications?

Ask