In mathematics, the discrete-time Fourier transform (DTFT) is a form of Fourier analysis that is applicable to a sequence of discrete values.
The DTFT is often used to analyze samples of a continuous function. The term discrete-time refers to the fact that the transform operates on discrete data, often samples whose interval has units of time. From uniformly spaced samples it produces a function of frequency that is a periodic summation of the continuous Fourier transform of the original continuous function. Under certain theoretical conditions, described by the sampling theorem, the original continuous function can be recovered perfectly from the DTFT and thus from the original discrete samples. The DTFT itself is a continuous function of frequency, but discrete samples of it can be readily calculated via the discrete Fourier transform (DFT) (see § Sampling the DTFT), which is by far the most common method of modern Fourier analysis.
Both transforms are invertible. The inverse DTFT is the original sampled data sequence. The inverse DFT is a periodic summation of the original sequence. The fast Fourier transform (FFT) is an algorithm for computing one cycle of the DFT, and its inverse produces one cycle of the inverse DFT.
Introduction
Relation to Fourier Transform
We begin with a common definition of the Fourier transform integral:
which is a Fourier series in frequency, with periodicity The subscript distinguishes it from and from the angular frequency form of the DTFT. I.e., when the frequency variable, has normalized units of radians/sample, the periodicity is and the Fourier series is:[1]: p.147
(Eq.1)
The utility of the DTFT is rooted in the Poisson summation formula, which tells us that the periodic function represented by the Fourier series is a periodic summation of the Fourier transform:[a][A]
Poisson summation
(Eq.2)
The integer has units of cycles/sample, and is the sample-rate, (samples/sec). So comprises exact copies of that are shifted by multiples of hertz and combined by addition. For sufficiently large the term can be observed in the region with little or no distortion (aliasing) from the other terms. Fig.1 depicts an example where is not large enough to prevent aliasing.
We also note that is the Fourier transform of Therefore, an alternative definition of DTFT is:[B]
(Eq.3)
The modulated Dirac comb function is a mathematical abstraction sometimes referred to as impulse sampling.[3]
Inverse transform
An operation that recovers the discrete data sequence from the DTFT function is called an inverse DTFT. For instance, the inverse continuous Fourier transform of both sides of Eq.3 produces the sequence in the form of a modulated Dirac comb function:
However, noting that is periodic, all the necessary information is contained within any interval of length In both Eq.1 and Eq.2, the summations over are a Fourier series, with coefficients The standard formulas for the Fourier coefficients are also the inverse transforms:
(Eq.4)
Periodic data
When the input data sequence x[n] is N-periodic, Eq.2 can be computationally reduced to a discrete Fourier transform (DFT), because:
All the available information is contained within N samples.
X1/T(f) converges to zero everywhere except at integer multiples of 1/(NT), known as harmonic frequencies. At those frequencies, the DTFT diverges at different frequency-dependent rates. And those rates are given by the DFT of one cycle of the x[n] sequence.
The DTFT is periodic, so the maximum number of unique harmonic amplitudes is (1/T) / (1/(NT)) = N
as expected. The inverse DFT in the line above is sometimes referred to as a Discrete Fourier series (DFS).[1]: p 542
Sampling the DTFT
When the DTFT is continuous, a common practice is to compute an arbitrary number of samples (N) of one cycle of the periodic function X1/T:[1]: pp 557–559 & 703
The sequence is the inverse DFT. Thus, our sampling of the DTFT causes the inverse transform to become periodic. The array of |Xk|2 values is known as a periodogram, and the parameter N is called NFFT in the Matlab function of the same name.[4]
In order to evaluate one cycle of numerically, we require a finite-length x[n] sequence. For instance, a long sequence might be truncated by a window function of length L resulting in three cases worthy of special mention. For notational simplicity, consider the x[n] values below to represent the values modified by the window function.
Case: Frequency decimation.L = N ⋅ I, for some integer I (typically 6 or 8)
A cycle of reduces to a summation of I segments of length N. The DFT then goes by various names, such as:
Recall that decimation of sampled data in one domain (time or frequency) produces overlap (sometimes known as aliasing) in the other, and vice versa. Compared to an L-length DFT, the summation/overlap causes decimation in frequency,[1]: p.558 leaving only DTFT samples least affected by spectral leakage. That is usually a priority when implementing an FFT filter-bank (channelizer). With a conventional window function of length L, scalloping loss would be unacceptable. So multi-block windows are created using FIR filter design tools.[14][15] Their frequency profile is flat at the highest point and falls off quickly at the midpoint between the remaining DTFT samples. The larger the value of parameter I, the better the potential performance.
Case: L = N+1.
When a symmetric, -length window function () is truncated by 1 coefficient it is called periodic or DFT-even. That is a common practice, but the truncation affects the DTFT (spectral leakage) by a small amount. It is at least of academic interest to characterize that effect. An -length DFT of the truncated window produces frequency samples at intervals of instead of The samples are real-valued,[16]: p.52 but their values do not exactly match the DTFT of the symmetric window. The periodic summation, along with an -length DFT, can also be used to sample the DTFT at intervals of Those samples are also real-valued and do exactly match the DTFT (example: File:Sampling the Discrete-time Fourier transform.svg). To use the full symmetric window for spectral analysis at the spacing, one would combine the and data samples (by addition, because the symmetrical window weights them equally) and then apply the truncated symmetric window and the -length DFT.
Case: Frequency interpolation.L ≤ N
In this case, the DFT simplifies to a more familiar form:
In order to take advantage of a fast Fourier transform algorithm for computing the DFT, the summation is usually performed over all N terms, even though N − L of them are zeros. Therefore, the case L < N is often referred to as zero-padding.
Spectral leakage, which increases as L decreases, is detrimental to certain important performance metrics, such as resolution of multiple frequency components and the amount of noise measured by each DTFT sample. But those things don't always matter, for instance when the x[n] sequence is a noiseless sinusoid (or a constant), shaped by a window function. Then it is a common practice to use zero-padding to graphically display and compare the detailed leakage patterns of window functions. To illustrate that for a rectangular window, consider the sequence:
and
Figures 2 and 3 are plots of the magnitude of two different sized DFTs, as indicated in their labels. In both cases, the dominant component is at the signal frequency: f = 1/8 = 0.125. Also visible in Fig 2 is the spectral leakage pattern of the L = 64 rectangular window. The illusion in Fig 3 is a result of sampling the DTFT at just its zero-crossings. Rather than the DTFT of a finite-length sequence, it gives the impression of an infinitely long sinusoidal sequence. Contributing factors to the illusion are the use of a rectangular window, and the choice of a frequency (1/8 = 8/64) with exactly 8 (an integer) cycles per 64 samples. A Hann window would produce a similar result, except the peak would be widened to 3 samples (see DFT-even Hann window).
An important special case is the circular convolution of sequences x and y defined by where is a periodic summation. The discrete-frequency nature of means that the product with the continuous function is also discrete, which results in considerable simplification of the inverse transform:
When the real and imaginary parts of a complex function are decomposed into their even and odd parts, there are four components, denoted below by the subscripts RE, RO, IE, and IO. And there is a one-to-one mapping between the four components of a complex time function and the four components of its complex frequency transform:[17]: p.291
From this, various relationships are apparent, for example:
The transform of a real-valued function (xRE+ xRO) is the even symmetric function XRE+ i XIO. Conversely, an even-symmetric transform implies a real-valued time-domain.
The transform of an imaginary-valued function (i xIE+ i xIO) is the odd symmetric function XRO+ i XIE, and the converse is true.
The transform of an even-symmetric function (xRE+ i xIO) is the real-valued function XRE+ XRO, and the converse is true.
The transform of an odd-symmetric function (xRO+ i xIE) is the imaginary-valued function i XIE+ i XIO, and the converse is true.
where the notation distinguishes the Z-transform from the Fourier transform. Therefore, we can also express a portion of the Z-transform in terms of the Fourier transform:
Note that when parameter T changes, the terms of remain a constant separation apart, and their width scales up or down. The terms of X1/T(f) remain a constant width and their separation 1/T scales up or down.
Table of discrete-time Fourier transforms
Some common transform pairs are shown in the table below. The following notation applies:
is a real number representing continuous angular frequency (in radians per sample). ( is in cycles/sec, and is in sec/sample.) In all cases in the table, the DTFT is 2π-periodic (in ).
designates a function defined on .
designates a function defined on , and zero elsewhere. Then:
^ abc
Prandoni, Paolo; Vetterli, Martin (2008). Signal Processing for Communications(PDF) (1 ed.). Boca Raton, FL: CRC Press. pp. 72, 76. ISBN978-1-4200-7046-0. Retrieved 4 October 2020. the DFS coefficients for the periodized signal are a discrete set of values for its DTFT
^
Wang, Hong; Lu, Youxin; Wang, Xuegang (16 October 2006). "Channelized Receiver with WOLA Filterbank". 2006 CIE International Conference on Radar. Shanghai, China: IEEE. pp. 1–3. doi:10.1109/ICR.2006.343463. ISBN0-7803-9582-4. S2CID42688070.
^ ab
Lillington, John (March 2003). "Comparison of Wideband Channelisation Architectures"(PDF). Dallas: International Signal Processing Conference. p. 4 (fig 7). S2CID31525301. Archived from the original(PDF) on 2019-03-08. Retrieved 2020-09-06. The "Weight Overlap and Add" or WOLA or its subset the "Polyphase DFT", is becoming more established and is certainly very efficient where large, high quality filter banks are required.
^ ab
Lillington, John. "A Review of Filter Bank Techniques - RF and Digital"(PDF). armms.org. Isle of Wight, UK: Libra Design Associates Ltd. p. 11. Retrieved 2020-09-06. Fortunately, there is a much more elegant solution, as shown in Figure 20 below, known as the Polyphase or WOLA (Weight, Overlap and Add) FFT.
^
Harris, Frederic J. (2004-05-24). "9". Multirate Signal Processing for Communication Systems. Upper Saddle River, NJ: Prentice Hall PTR. pp. 226–253. ISBN0131465112.
Porat, Boaz (1996). A Course in Digital Signal Processing. John Wiley and Sons. pp. 27–29 and 104–105. ISBN0-471-14961-6.
Siebert, William M. (1986). Circuits, Signals, and Systems. MIT Electrical Engineering and Computer Science Series. Cambridge, MA: MIT Press. ISBN0262690950.
Lyons, Richard G. (2010). Understanding Digital Signal Processing (3rd ed.). Prentice Hall. ISBN978-0137027415.