Discrete Time Fourier Transform
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the discrete-time Fourier transform (DTFT) is a form of
Fourier analysis In mathematics, Fourier analysis () is the study of the way general functions may be represented or approximated by sums of simpler trigonometric functions. Fourier analysis grew from the study of Fourier series, and is named after Joseph Fo ...
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 In mathematics, any integrable function s(t) can be made into a periodic function s_P(t) with period ''P'' by summing the translations of the function s(t) by integer multiples of ''P''. This is called periodic summation: :s_P(t) = \sum_^\inf ...
of the
continuous Fourier transform In mathematics, the Fourier transform (FT) is an integral transform that takes a function (mathematics), function as input then outputs another function that describes the extent to which various Frequency, frequencies are present in the origin ...
of the original continuous function. In simpler terms, when you take the DTFT of regularly-spaced samples of a continuous signal, you get repeating (and possibly overlapping) copies of the signal's frequency spectrum, spaced at intervals corresponding to the sampling frequency. Under certain theoretical conditions, described by the
sampling theorem Sampling may refer to: *Sampling (signal processing), converting a continuous signal into a discrete signal *Sample (graphics), Sampling (graphics), converting continuous colors into discrete color components *Sampling (music), the reuse of a soun ...
, 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 In mathematics, the discrete Fourier transform (DFT) converts a finite sequence of equally-spaced Sampling (signal processing), samples of a function (mathematics), function into a same-length sequence of equally-spaced samples of the discre ...
(DFT) (see ), which is by far the most common method of modern Fourier analysis. Both transforms are invertible. The inverse DTFT reconstructs the original sampled data sequence, while the inverse DFT produces a periodic summation of the original sequence. The
fast Fourier transform A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). A Fourier transform converts a signal from its original domain (often time or space) to a representation in ...
(FFT) is an algorithm for computing one cycle of the DFT, and its inverse produces one cycle of the inverse DFT.


Relation to Fourier Transform

Let s(t) be a continuous function in the time domain. We begin with a common definition of the continuous
Fourier transform In mathematics, the Fourier transform (FT) is an integral transform that takes a function as input then outputs another function that describes the extent to which various frequencies are present in the original function. The output of the tr ...
, where f represents frequency in hertz and t represents time in seconds: :S(f) \triangleq \int_^\infty s(t)\cdot e^ dt. We can reduce the integral into a summation by sampling s(t) at intervals of T seconds (see ). Specifically, we can replace s(t) with a discrete sequence of its samples, s(nT), for integer values of n, and replace the differential element dt with the sampling period T. Thus, we obtain one formulation for the discrete-time Fourier transform (DTFT): :S_(f) \triangleq \sum_^ \underbrace_\ e^. This
Fourier series A Fourier series () is an Series expansion, expansion of a periodic function into a sum of trigonometric functions. The Fourier series is an example of a trigonometric series. By expressing a function as a sum of sines and cosines, many problems ...
(in frequency) is a continuous periodic function, whose periodicity is the sampling frequency 1/T. The subscript 1/T distinguishes it from the continuous Fourier transform S(f), and from the angular frequency form of the DTFT. The latter is obtained by defining an angular frequency variable, \omega \triangleq 2 \pi f T (which has normalized units of ''radians/sample''), giving us a periodic function of angular frequency, with periodicity 2\pi: The utility of the DTFT is rooted in the
Poisson summation formula In mathematics, the Poisson summation formula is an equation that relates the Fourier series coefficients of the periodic summation of a function (mathematics), function to values of the function's continuous Fourier transform. Consequently, the pe ...
, which tells us that the periodic function represented by the Fourier series is a periodic summation of the continuous Fourier transform: The components of the periodic summation are centered at integer values (denoted by k) of a normalized frequency (cycles per sample). Ordinary/physical frequency (cycles per second) is the product of k and the sample-rate, f_s=1/T.   For sufficiently large f_s, the k=0 term can be observed in the region f_s/2, f_s/2/math> with little or no distortion (
aliasing In signal processing and related disciplines, aliasing is a phenomenon that a reconstructed signal from samples of the original signal contains low frequency components that are not present in the original one. This is caused when, in the ori ...
) from the other terms.  Fig.1 depicts an example where 1/T is not large enough to prevent aliasing. We also note that e^ is the Fourier transform of \delta(t-nT). Therefore, an alternative definition of DTFT is: The modulated
Dirac comb In mathematics, a Dirac comb (also known as sha function, impulse train or sampling function) is a periodic function, periodic Function (mathematics), function with the formula \operatorname_(t) \ := \sum_^ \delta(t - k T) for some given perio ...
function is a mathematical abstraction sometimes referred to as ''impulse sampling''.


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 produces the sequence in the form of a modulated Dirac comb function: :\sum_^ s cdot \delta(t-n T) = \mathcal^\left \ \ \triangleq \int_^\infty S_(f)\cdot e^ df. However, noting that S_(f) is periodic, all the necessary information is contained within any interval of length 1/T.  In both and , the summations over n are a
Fourier series A Fourier series () is an Series expansion, expansion of a periodic function into a sum of trigonometric functions. The Fourier series is an example of a trigonometric series. By expressing a function as a sum of sines and cosines, many problems ...
, with coefficients s   The standard formulas for the Fourier coefficients are also the inverse transforms:


Periodic data

When the input data sequence s /math> is N-periodic, can be computationally reduced to a discrete Fourier transform (DFT), because: * All the available information is contained within N samples. * S_(f) converges to zero everywhere except at integer multiples of 1/(NT), known as
harmonic In physics, acoustics, and telecommunications, a harmonic is a sinusoidal wave with a frequency that is a positive integer multiple of the ''fundamental frequency'' of a periodic signal. The fundamental frequency is also called the ''1st har ...
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 s /math> sequence. * The DTFT is periodic, so the maximum number of unique harmonic amplitudes is (1/T)/(1/(NT)) = N. The DFT of one cycle of the s /math> sequence is: :S \triangleq \underbrace_, \quad k \in \mathbf. And s /math> can be expressed in terms of the inverse transform, which is sometimes referred to as a
Discrete Fourier series In digital signal processing, a discrete Fourier series (DFS) is a Fourier series whose sinusoidal components are functions of a discrete variable instead of a continuous variable. The result of the series is also a function of the discrete variab ...
(DFS): :s = \frac \underbrace_, \quad n \in \mathbf. With these definitions, we can demonstrate the relationship between the DTFT and the DFT: : \begin S_(f) &\triangleq \sum_^ s cdot e^\\ &= \sum_^ \left frac \sum_^ S[kcdot e^\right">.html" ;"title="frac \sum_^ S[k">frac \sum_^ S[kcdot e^\right\cdot e^\\ &= \frac \sum_^ S \underbrace_\\ &= \frac \sum_^ S \cdot \frac\sum_^\infty \delta \left(f - \tfrac - \tfrac \right) \end       Due to the N-periodicity of both functions of k, this can be simplified to: :S_(f) = \frac \sum_^ S \cdot \delta\left(f-\frac\right), which satisfies the inverse transform requirement: :\begin s &= T \int_^ S_(f)\cdot e^ df\\ &=\frac \sum_^\infty S \underbrace_\\ &=\frac \sum_^ S \int_^ \delta \left(f-\tfrac\right) e^ df\\ &=\frac \sum_^ S[k]\cdot e^\\ &=\frac \sum_^ S[k]\cdot e^ \end


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 S_  : \begin \underbrace_ &= \sum_^\infty s cdot e^ \quad \quad k = 0, \dots, N-1 \\ &= \underbrace_\quad \scriptstyle \end where s_ is a
periodic summation In mathematics, any integrable function s(t) can be made into a periodic function s_P(t) with period ''P'' by summing the translations of the function s(t) by integer multiples of ''P''. This is called periodic summation: :s_P(t) = \sum_^\inf ...
: :s_ \triangleq\ \sum_^ s -mN     (see
Discrete Fourier series In digital signal processing, a discrete Fourier series (DFS) is a Fourier series whose sinusoidal components are functions of a discrete variable instead of a continuous variable. The result of the series is also a function of the discrete variab ...
) The s_ sequence is the inverse DFT. Thus, our sampling of the DTFT causes the inverse transform to become periodic. The array of , S_k, ^2 values is known as a ''
periodogram In signal processing, a periodogram is an estimate of the spectral density of a signal. The term was coined by Arthur Schuster in 1898. Today, the periodogram is a component of more sophisticated methods (see spectral estimation). It is the most ...
'', and the parameter N is called NFFT in the Matlab function of the same name. In order to evaluate one cycle of s_ numerically, we require a finite-length s /math> sequence. For instance, a long sequence might be truncated by a
window function In signal processing and statistics, a window function (also known as an apodization function or tapering function) is a mathematical function that is zero-valued outside of some chosen interval. Typically, window functions are symmetric around ...
of length L resulting in three cases worthy of special mention. For notational simplicity, consider the s /math> values below to represent the values modified by the window function. Case: Frequency decimation. L=N\cdot I, for some integer I (typically 6 or 8) A cycle of s_ reduces to a summation of I segments of length N.  The DFT then goes by various names, such as: *''window-presum FFT'' *''Weight, overlap, add (WOLA)'' *''polyphase DFT'' *''polyphase filter bank'' *''multiple block windowing'' and ''time-aliasing''. Recall that decimation of sampled data in one domain (time or frequency) produces overlap (sometimes known as
aliasing In signal processing and related disciplines, aliasing is a phenomenon that a reconstructed signal from samples of the original signal contains low frequency components that are not present in the original one. This is caused when, in the ori ...
) in the other, and vice versa. Compared to an L-length DFT, the s_ summation/overlap causes decimation in frequency, leaving only DTFT samples least affected by
spectral leakage The Fourier transform of a function of time, s(t), is a complex-valued function of frequency, S(f), often referred to as a frequency spectrum. Any LTI system theory, linear time-invariant operation on s(t) produces a new spectrum of the form H(f)� ...
. 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 In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of ''finite'' duration, because it settles to zero in finite time. This is in contrast to infinite impulse ...
design tools.  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, L-length
window function In signal processing and statistics, a window function (also known as an apodization function or tapering function) is a mathematical function that is zero-valued outside of some chosen interval. Typically, window functions are symmetric around ...
(s) 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 N-length DFT of the truncated window produces frequency samples at intervals of 1/N, instead of 1/L.  The samples are real-valued,  but their values do not exactly match the DTFT of the symmetric window. The periodic summation, s_, along with an N-length DFT, can also be used to sample the DTFT at intervals of 1/N.  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 1/N spacing, one would combine the n=0 and n=N data samples (by addition, because the symmetrical window weights them equally) and then apply the truncated symmetric window and the N-length DFT. Case: Frequency interpolation. L \le N In this case, the DFT simplifies to a more familiar form: :S_k = \sum_^ s cdot e^. 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 s /math> 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: :s = e^,\quad and L=64. 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 (se
DFT-even Hann window
.


Convolution

The
convolution theorem In mathematics, the convolution theorem states that under suitable conditions the Fourier transform of a convolution of two functions (or signals) is the product of their Fourier transforms. More generally, convolution in one domain (e.g., time dom ...
for sequences is: :s * y\ =\ \scriptstyle^ \displaystyle \left scriptstyle \displaystyle \\cdot \scriptstyle \displaystyle \\right An important special case is the
circular convolution Circular convolution, also known as cyclic convolution, is a special case of periodic convolution, which is the convolution of two periodic functions that have the same period. Periodic convolution arises, for example, in the context of the discr ...
of sequences and defined by s_*y, where s_ is a periodic summation. The discrete-frequency nature of \scriptstyle \displaystyle \ means that the product with the continuous function \scriptstyle \displaystyle \ is also discrete, which results in considerable simplification of the inverse transform: :s_ * y\ =\ \scriptstyle^ \displaystyle \left scriptstyle \displaystyle \\cdot \scriptstyle \displaystyle \\right =\ \scriptstyle^ \displaystyle \left scriptstyle \displaystyle \\cdot \scriptstyle \displaystyle \\right For and sequences whose non-zero duration is less than or equal to , a final simplification is: :s_ * y\ =\ \scriptstyle^ \displaystyle \left scriptstyle \displaystyle \\cdot \scriptstyle \displaystyle \\right The significance of this result is explained at
Circular convolution Circular convolution, also known as cyclic convolution, is a special case of periodic convolution, which is the convolution of two periodic functions that have the same period. Periodic convolution arises, for example, in the context of the discr ...
and Fast convolution algorithms.


Relationship to the Z-transform

S_(\omega) is a
Fourier series A Fourier series () is an Series expansion, expansion of a periodic function into a sum of trigonometric functions. The Fourier series is an example of a trigonometric series. By expressing a function as a sum of sines and cosines, many problems ...
that can also be expressed in terms of the bilateral
Z-transform In mathematics and signal processing, the Z-transform converts a discrete-time signal, which is a sequence of real or complex numbers, into a complex valued frequency-domain (the z-domain or z-plane) representation. It can be considered a dis ...
.  I.e.: :S_(\omega) = \left. S_z(z) \, \_ = S_z(e^), where the S_z 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: : \begin S_z(e^) &= \ S_\left(\tfrac\right) \ = \ \sum_^ S\left(\tfrac - k/T\right)\\ &= \sum_^ S\left(\tfrac \right). \end Note that when parameter changes, the terms of S_(\omega) remain a constant separation 2 \pi apart, and their width scales up or down. The terms of remain a constant width and their separation scales up or down.


Table of discrete-time Fourier transforms

Some common transform pairs are shown in the table below. The following notation applies: *\omega=2 \pi f T is a real number representing continuous angular frequency (in radians per sample). (f is in cycles/sec, and T is in sec/sample.) In all cases in the table, the DTFT is 2π-periodic (in \omega). *S_(\omega) designates a function defined on -\infty < \omega < \infty . *S_o(\omega) designates a function defined on -\pi < \omega \le \pi, and zero elsewhere. Then: S_(\omega)\ \triangleq \sum_^ S_o(\omega - 2\pi k). * \delta ( \omega ) is the
Dirac delta function In mathematical analysis, the Dirac delta function (or distribution), also known as the unit impulse, is a generalized function on the real numbers, whose value is zero everywhere except at zero, and whose integral over the entire real line ...
* \operatorname (t) is the normalized
sinc function In mathematics, physics and engineering, the sinc function ( ), denoted by , has two forms, normalized and unnormalized.. In mathematics, the historical unnormalized sinc function is defined for by \operatorname(x) = \frac. Alternatively, ...
* \operatorname\left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
\triangleq \begin 1 & , n, \leq L/2 \\ 0 & , n, > L/2 \end * \operatorname (t) is the
triangle function A triangular function (also known as a triangle function, hat function, or tent function) is a function whose graph takes the shape of a triangle. Often this is an isosceles triangle of height 1 and base 2 in which case it is referred to as ''th ...
* is an integer representing the discrete-time domain (in samples) * u /math> is the discrete-time
unit step function The Heaviside step function, or the unit step function, usually denoted by or (but sometimes , or ), is a step function named after Oliver Heaviside, the value of which is zero for negative arguments and one for positive arguments. Different ...
* \delta /math> is the
Kronecker delta In mathematics, the Kronecker delta (named after Leopold Kronecker) is a function of two variables, usually just non-negative integers. The function is 1 if the variables are equal, and 0 otherwise: \delta_ = \begin 0 &\text i \neq j, \\ 1 &\ ...
\delta_


Properties

This table shows some mathematical operations in the time domain and the corresponding effects in the frequency domain. * *\! is the
discrete convolution In mathematics (in particular, functional analysis), convolution is a operation (mathematics), mathematical operation on two function (mathematics), functions f and g that produces a third function f*g, as the integral of the product of the two ...
of two sequences * s^ /math> is the
complex conjugate In mathematics, the complex conjugate of a complex number is the number with an equal real part and an imaginary part equal in magnitude but opposite in sign. That is, if a and b are real numbers, then the complex conjugate of a + bi is a - ...
of s


See also

*
Least-squares spectral analysis Least-squares spectral analysis (LSSA) is a method of estimating a Spectral density estimation#Overview, frequency spectrum based on a least-squares fit of Sine wave, sinusoids to data samples, similar to Fourier analysis. Fourier analysis, the ...
*
Multidimensional transform In mathematical analysis and applications, multidimensional transforms are used to analyze the frequency content of signals in a domain of two or more dimensions. Multidimensional Fourier transform One of the more popular multidimensional tran ...
* Zak transform


Notes


Page citations


References


Further reading

* * * {{DSP Transforms Fourier analysis Digital signal processing