<< Chapter < Page Chapter >> Page >
The Fourier transform can be computed in discrete-time despite the complications caused by a finite signal and continuous frequency.

The discrete-time Fourier transform (and the continuous-time transform as well) can be evaluated when we havean analytic expression for the signal. Suppose we just have a signal, such as the speech signal used in the previous chapter,for which there is no formula. How then would you compute the spectrum? For example, how did we compute a spectrogram such asthe one shown in the speech signal example ? The Discrete Fourier Transform (DFT) allows the computation of spectra fromdiscrete-time data. While in discrete-time we can exactly calculate spectra, for analog signals no similar exact spectrum computation exists. Foranalog-signal spectra, use must build special devices, which turn out in most cases to consist of A/D converters anddiscrete-time computations. Certainly discrete-time spectral analysis is more flexible than continuous-time spectralanalysis.

The formula for the DTFT is a sum, which conceptually can be easily computed save for twoissues.

  • Signal duration . The sum extends over the signal's duration, which must befinite to compute the signal's spectrum. It is exceedingly difficult to store an infinite-length signal in any case, sowe'll assume that the signal extends over 0 N 1 .
  • Continuous frequency . Subtler than the signal duration issue is the fact that the frequencyvariable is continuous: It may only need to span one period, like 1 2 1 2 or 0 1 , but the DTFT formula as it stands requires evaluating thespectra at all frequencies within a period. Let's compute the spectrum at a few frequencies; themost obvious ones are the equally spaced ones f k K , k 0 K 1 .

We thus define the discrete Fourier transform (DFT) to be

k k 0 K 1 S k n 0 N 1 s n 2 n k K
Here, S k is shorthand for S 2 k K .

We can compute the spectrum at as many equally spaced frequencies as we like. Note that you can think about thiscomputationally motivated choice as sampling the spectrum; more about this interpretation later. The issue nowis how many frequencies are enough to capture how the spectrum changes with frequency. One way of answering this question isdetermining an inverse discrete Fourier transform formula: given S k , k 0 K 1 how do we find s n , n 0 N 1 ? Presumably, the formula will be of the form s n k 0 K 1 S k 2 n k K . Substituting the DFT formula in this prototype inverse transformyields

s n k 0 K 1 m 0 N 1 s m 2 m k K 2 n k K
Note that the orthogonality relation we use so often has adifferent character now.
k 0 K 1 2 k m K 2 k n K K m n ± n K ± n 2 K 0
We obtain nonzero value whenever the two indices differ by multiplesof K . We can express this result as K l l δ m n l K . Thus, our formula becomes
s n m 0 N 1 s m K l δ m n l K
The integers n and m both range over 0 N 1 . Tohave an inverse transform, we need the sum to be a single unit sample for m , n in this range. If it did not, then s n would equal a sum of values, and we would not have a validtransform: Once going into the frequency domain, we could not get back unambiguously! Clearly, the term l 0 always provides a unit sample (we'll take care of the factor of K soon). If we evaluate the spectrum at fewer frequencies than the signal's duration, the term corresponding to m n K will also appear for some values of m , n 0 N 1 . This situation means that our prototype transform equals s n s n K for some values of n . The only way to eliminate this problem is to require K N : We must have at least as many frequency samples as the signal's duration. In this way, we can return from thefrequency domain we entered via the DFT.

When we have fewer frequency samples than the signal's duration, some discrete-time signal values equal the sum ofthe original signal values. Given the sampling interpretation of the spectrum, characterize this effect adifferent way.

This situation amounts to aliasing in the time-domain.

Got questions? Get instant answers now!

Another way to understand this requirement is to use the theoryof linear equations. If we write out the expression for the DFT as a set of linear equations,

s 0 s 1 s N 1 S 0
s 0 s 1 2 K s N 1 2 N 1 K S 1 s 0 s 1 2 K 1 K s N 1 2 N 1 K 1 K S K 1 we have K equations in N unknowns if we want to find the signal from its sampledspectrum. This requirement is impossible to fulfill if K N ; we must have K N . Our orthogonality relation essentially says that if we have asufficient number of equations (frequency samples), the resulting set of equations can indeed be solved.

By convention, the number of DFT frequency values K is chosen to equal the signal's duration N . The discrete Fourier transform pair consists of

Discrete fourier transform pair

S k n 0 N 1 s n 2 n k N s n 1 N k 0 N 1 S k 2 n k N

Use this demonstration to perform DFT analysis of a signal.

Got questions? Get instant answers now!

Use this demonstration to synthesize a signal from a DFT sequence.

Got questions? Get instant answers now!

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
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, Fundamentals of electrical engineering i. OpenStax CNX. Aug 06, 2008 Download for free at http://legacy.cnx.org/content/col10040/1.9
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fundamentals of electrical engineering i' conversation and receive update notifications?

Ask