Discrete-time Fourier transform

Fourier analysis technique applied to sequences
Fourier transforms

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:

X ( f ) x ( t ) e i 2 π f t d t . {\displaystyle X(f)\triangleq \int _{-\infty }^{\infty }x(t)\cdot e^{-i2\pi ft}dt.}

This reduces to a summation (see Fourier transform § Numerical integration of a series of ordered pairs) when x ( t ) {\displaystyle x(t)} is replaced by a discrete sequence of its samples, x ( n T ) , {\displaystyle x(nT),} for integer values of n . {\displaystyle n.}   d t {\displaystyle dt} is also replaced by T , {\displaystyle T,} leaving:

X 1 / T ( f ) n = T x ( n T ) x [ n ]   e i 2 π f T n , {\displaystyle X_{1/T}(f)\triangleq \sum _{n=-\infty }^{\infty }\underbrace {T\cdot x(nT)} _{x[n]}\ e^{-i2\pi fTn},}

which is a Fourier series in frequency, with periodicity 1 / T . {\displaystyle 1/T.} The subscript 1 / T {\displaystyle 1/T} distinguishes it from X ( f ) {\displaystyle X(f)} and from the angular frequency form of the DTFT. I.e., when the frequency variable, ω , {\displaystyle \omega ,} has normalized units of radians/sample, the periodicity is 2 π , {\displaystyle 2\pi ,} and the Fourier series is:[1]: p.147 

X 2 π ( ω ) = X 1 / T ( ω 2 π T ) = n = x [ n ] e i ω n . {\displaystyle X_{2\pi }(\omega )=X_{1/T}\left({\tfrac {\omega }{2\pi T}}\right)=\sum _{n=-\infty }^{\infty }x[n]\cdot e^{-i\omega n}.}    

(Eq.1)
Fig 1. Depiction of a Fourier transform (upper left) and its periodic summation (DTFT) in the lower left corner. The lower right corner depicts samples of the DTFT that are computed by a discrete Fourier transform (DFT).

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
X 1 / T ( f ) = n = x [ n ] e i 2 π f T n = k = X ( f k / T ) . {\displaystyle X_{1/T}(f)=\sum _{n=-\infty }^{\infty }x[n]\cdot e^{-i2\pi fTn}\;=\sum _{k=-\infty }^{\infty }X\left(f-k/T\right).}    

(Eq.2)

The integer k {\displaystyle k} has units of cycles/sample, and 1 / T {\displaystyle 1/T} is the sample-rate, f s {\displaystyle f_{s}} (samples/sec).  So X 1 / T ( f ) {\displaystyle X_{1/T}(f)} comprises exact copies of X ( f ) {\displaystyle X(f)} that are shifted by multiples of f s {\displaystyle f_{s}} hertz and combined by addition. For sufficiently large f s {\displaystyle f_{s}} the k = 0 {\displaystyle k=0} term can be observed in the region [ f s / 2 , f s / 2 ] {\displaystyle [-f_{s}/2,f_{s}/2]} with little or no distortion (aliasing) from the other terms.  Fig.1 depicts an example where 1 / T {\displaystyle 1/T} is not large enough to prevent aliasing.

We also note that e i 2 π f T n {\displaystyle e^{-i2\pi fTn}} is the Fourier transform of δ ( t n T ) . {\displaystyle \delta (t-nT).} Therefore, an alternative definition of DTFT is:[B]

X 1 / T ( f ) = F { n = x [ n ] δ ( t n T ) } . {\displaystyle X_{1/T}(f)={\mathcal {F}}\left\{\sum _{n=-\infty }^{\infty }x[n]\cdot \delta (t-nT)\right\}.}    

(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:

n = x [ n ] δ ( t n T ) = F 1 { X 1 / T ( f ) }   X 1 / T ( f ) e i 2 π f t d f . {\displaystyle \sum _{n=-\infty }^{\infty }x[n]\cdot \delta (t-nT)={\mathcal {F}}^{-1}\left\{X_{1/T}(f)\right\}\ \triangleq \int _{-\infty }^{\infty }X_{1/T}(f)\cdot e^{i2\pi ft}df.}

However, noting that X 1 / T ( f ) {\displaystyle X_{1/T}(f)} is periodic, all the necessary information is contained within any interval of length 1 / T . {\displaystyle 1/T.}   In both Eq.1 and Eq.2, the summations over n {\displaystyle n} are a Fourier series, with coefficients x [ n ] . {\displaystyle x[n].}   The standard formulas for the Fourier coefficients are also the inverse transforms:

x [ n ] = T 1 T X 1 / T ( f ) e i 2 π f n T d f (integral over any interval of length  1 / T ) = 1 2 π 2 π X 2 π ( ω ) e i ω n d ω (integral over any interval of length  2 π ) {\displaystyle {\begin{aligned}x[n]&=T\int _{\frac {1}{T}}X_{1/T}(f)\cdot e^{i2\pi fnT}df\quad \scriptstyle {{\text{(integral over any interval of length }}1/T{\textrm {)}}}\\\displaystyle &={\frac {1}{2\pi }}\int _{2\pi }X_{2\pi }(\omega )\cdot e^{i\omega n}d\omega \quad \scriptstyle {{\text{(integral over any interval of length }}2\pi {\textrm {)}}}\end{aligned}}}    

(Eq.4)

Periodic data

When the input data sequence x [ n ] {\displaystyle x[n]} is N {\displaystyle N} -periodic, Eq.2 can be computationally reduced to a discrete Fourier transform (DFT), because:

  • All the available information is contained within N {\displaystyle N} samples.
  • X 1 / T ( f ) {\displaystyle X_{1/T}(f)} converges to zero everywhere except at integer multiples of 1 / ( N T ) , {\displaystyle 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 ] {\displaystyle x[n]} sequence.
  • The DTFT is periodic, so the maximum number of unique harmonic amplitudes is ( 1 / T ) / ( 1 / ( N T ) ) = N . {\displaystyle (1/T)/(1/(NT))=N.}

The form of the DTFT at the harmonic frequencies is:

X 1 / T ( k N T ) = n = x [ n ] e i 2 π k N T n T = n = x [ n ] e i 2 π k N n , k Z , {\displaystyle {\begin{aligned}X_{1/T}\left({\tfrac {k}{NT}}\right)&=\sum _{n=-\infty }^{\infty }x[n]\cdot e^{-i2\pi {\tfrac {k}{NT}}nT}\\&=\sum _{n=-\infty }^{\infty }x[n]\cdot e^{-i2\pi {\tfrac {k}{N}}n},\quad k\in \mathbf {Z} ,\end{aligned}}}

which, due to N {\displaystyle N} -periodicity, diverges at a rate proportional to:

X [ k ] N x [ n ] e i 2 π k N n any n-sequence of length N . {\displaystyle X[k]\triangleq \underbrace {\sum _{N}x[n]\cdot e^{-i2\pi {\frac {k}{N}}n}} _{\text{any n-sequence of length N}}.}

This N {\displaystyle N} -periodic sequence is the DFT of one cycle of the x [ n ] {\displaystyle x[n]} sequence, and the DTFT is:

X 1 / T ( f ) = 1 N T k = X [ k ] δ ( f k N T ) . {\displaystyle X_{1/T}(f)={\frac {1}{NT}}\sum _{k=-\infty }^{\infty }X[k]\cdot \delta \left(f-{\frac {k}{NT}}\right).}       [b]

The 1 N T {\displaystyle {\tfrac {1}{NT}}} proportionality factor is needed to satisfy the inverse transform:

x [ n ] = T 0 1 T X 1 / T ( f ) e i 2 π f n T d f = 1 N k = X [ k ] 0 1 T δ ( f k N T ) e i 2 π f n T d f zero for  k     [ 0 , N 1 ] = 1 N k = 0 N 1 X [ k ] 0 1 T δ ( f k N T ) e i 2 π f n T d f = 1 N k = 0 N 1 X [ k ] e i 2 π k N T n T = 1 N k = 0 N 1 X [ k ] e i 2 π k N n {\displaystyle {\begin{aligned}x[n]&=T\int _{0}^{\frac {1}{T}}X_{1/T}(f)\cdot e^{i2\pi fnT}df\\&={\frac {1}{N}}\sum _{k=-\infty }^{\infty }X[k]\underbrace {\int _{0}^{\frac {1}{T}}\delta \left(f-{\tfrac {k}{NT}}\right)e^{i2\pi fnT}df} _{{\text{zero for }}k\ \notin \ [0,N-1]}\\&={\frac {1}{N}}\sum _{k=0}^{N-1}X[k]\int _{0}^{\frac {1}{T}}\delta \left(f-{\tfrac {k}{NT}}\right)e^{i2\pi fnT}df\\&={\frac {1}{N}}\sum _{k=0}^{N-1}X[k]\cdot e^{i2\pi {\tfrac {k}{NT}}nT}\\&={\frac {1}{N}}\sum _{k=0}^{N-1}X[k]\cdot e^{i2\pi {\tfrac {k}{N}}n}\end{aligned}}}

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 ) {\displaystyle (N)} of one cycle of the periodic function X 1 / T {\displaystyle X_{1/T}} : [1]: pp 557–559 & 703 

X 1 / T ( k N T ) X k = n = x [ n ] e i 2 π k N n k = 0 , , N 1 = N x N [ n ] e i 2 π k N n , DFT (sum over any  n -sequence of length  N ) {\displaystyle {\begin{aligned}\underbrace {X_{1/T}\left({\frac {k}{NT}}\right)} _{X_{k}}&=\sum _{n=-\infty }^{\infty }x[n]\cdot e^{-i2\pi {\frac {k}{N}}n}\quad \quad k=0,\dots ,N-1\\&=\underbrace {\sum _{N}x_{_{N}}[n]\cdot e^{-i2\pi {\frac {k}{N}}n},} _{\text{DFT}}\quad \scriptstyle {{\text{(sum over any }}n{\text{-sequence of length }}N)}\end{aligned}}}

where x N {\displaystyle x_{_{N}}} is a periodic summation:

x N [ n ]     m = x [ n m N ] . {\displaystyle x_{_{N}}[n]\ \triangleq \ \sum _{m=-\infty }^{\infty }x[n-mN].}     (see Discrete Fourier series)

The x N {\displaystyle x_{_{N}}} sequence is the inverse DFT. Thus, our sampling of the DTFT causes the inverse transform to become periodic. The array of | X k | 2 {\displaystyle |X_{k}|^{2}} values is known as a periodogram, and the parameter N {\displaystyle N} is called NFFT in the Matlab function of the same name.[4]

In order to evaluate one cycle of x N {\displaystyle x_{_{N}}} numerically, we require a finite-length x [ n ] {\displaystyle x[n]} sequence. For instance, a long sequence might be truncated by a window function of length L {\displaystyle L} resulting in three cases worthy of special mention. For notational simplicity, consider the x [ n ] {\displaystyle x[n]} values below to represent the values modified by the window function.

Case: Frequency decimation. L = N I , {\displaystyle L=N\cdot I,} for some integer I {\displaystyle I} (typically 6 or 8)

A cycle of x N {\displaystyle x_{_{N}}} reduces to a summation of I {\displaystyle I} segments of length N . {\displaystyle N.}   The DFT then goes by various names, such as:

  • polyphase DFT[9][10]
  • polyphase filter bank[12]
  • multiple block windowing and time-aliasing.[13]

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 {\displaystyle L} -length DFT, the x N {\displaystyle x_{_{N}}} 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 , {\displaystyle 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 , {\displaystyle I,} the better the potential performance.

Case: L = N + 1 {\displaystyle L=N+1}

When a symmetric, L {\displaystyle L} -length window function ( x {\displaystyle x} ) 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 {\displaystyle N} -length DFT of the truncated window produces frequency samples at intervals of 1 / N , {\displaystyle 1/N,} instead of 1 / L . {\displaystyle 1/L.}   The samples are real-valued,[16]: p.52   but their values do not exactly match the DTFT of the symmetric window. The periodic summation, x N , {\displaystyle x_{_{N}},} along with an N {\displaystyle N} -length DFT, can also be used to sample the DTFT at intervals of 1 / N . {\displaystyle 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 {\displaystyle 1/N} spacing, one would combine the n = 0 {\displaystyle n=0} and n = N {\displaystyle n=N} data samples (by addition, because the symmetrical window weights them equally) and then apply the truncated symmetric window and the N {\displaystyle N} -length DFT.

Fig 2. DFT of ei2πn/8 for L = 64 and N = 256
Fig 3. DFT of ei2πn/8 for L = 64 and N = 64

Case: Frequency interpolation. L N {\displaystyle L\leq N}

In this case, the DFT simplifies to a more familiar form:

X k = n = 0 N 1 x [ n ] e i 2 π k N n . {\displaystyle X_{k}=\sum _{n=0}^{N-1}x[n]\cdot e^{-i2\pi {\frac {k}{N}}n}.}

In order to take advantage of a fast Fourier transform algorithm for computing the DFT, the summation is usually performed over all N {\displaystyle N} terms, even though N L {\displaystyle N-L} of them are zeros. Therefore, the case L < N {\displaystyle L<N} is often referred to as zero-padding.

Spectral leakage, which increases as L {\displaystyle 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 ] {\displaystyle 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:

x [ n ] = e i 2 π 1 8 n , {\displaystyle x[n]=e^{i2\pi {\frac {1}{8}}n},\quad } and L = 64. {\displaystyle 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 {\displaystyle f=1/8=0.125} . Also visible in Fig 2 is the spectral leakage pattern of the L = 64 {\displaystyle 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).

Convolution

The convolution theorem for sequences is:

x y   =   D T F T 1 [ D T F T { x } D T F T { y } ] . {\displaystyle x*y\ =\ \scriptstyle {\rm {DTFT}}^{-1}\displaystyle \left[\scriptstyle {\rm {DTFT}}\displaystyle \{x\}\cdot \scriptstyle {\rm {DTFT}}\displaystyle \{y\}\right].} [17]: p.297 [c]

An important special case is the circular convolution of sequences x and y defined by x N y , {\displaystyle x_{_{N}}*y,} where x N {\displaystyle x_{_{N}}} is a periodic summation. The discrete-frequency nature of D T F T { x N } {\displaystyle \scriptstyle {\rm {DTFT}}\displaystyle \{x_{_{N}}\}} means that the product with the continuous function D T F T { y } {\displaystyle \scriptstyle {\rm {DTFT}}\displaystyle \{y\}} is also discrete, which results in considerable simplification of the inverse transform:

x N y   =   D T F T 1 [ D T F T { x N } D T F T { y } ]   =   D F T 1 [ D F T { x N } D F T { y N } ] . {\displaystyle x_{_{N}}*y\ =\ \scriptstyle {\rm {DTFT}}^{-1}\displaystyle \left[\scriptstyle {\rm {DTFT}}\displaystyle \{x_{_{N}}\}\cdot \scriptstyle {\rm {DTFT}}\displaystyle \{y\}\right]\ =\ \scriptstyle {\rm {DFT}}^{-1}\displaystyle \left[\scriptstyle {\rm {DFT}}\displaystyle \{x_{_{N}}\}\cdot \scriptstyle {\rm {DFT}}\displaystyle \{y_{_{N}}\}\right].} [18][1]: p.548 

For x and y sequences whose non-zero duration is less than or equal to N, a final simplification is:

x N y   =   D F T 1 [ D F T { x } D F T { y } ] . {\displaystyle x_{_{N}}*y\ =\ \scriptstyle {\rm {DFT}}^{-1}\displaystyle \left[\scriptstyle {\rm {DFT}}\displaystyle \{x\}\cdot \scriptstyle {\rm {DFT}}\displaystyle \{y\}\right].}

The significance of this result is explained at Circular convolution and Fast convolution algorithms.

Symmetry properties

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 

T i m e   d o m a i n   x = x R E + x R O + i   x I E + i   x I O F F     F     F     F F r e q u e n c y   d o m a i n X = X R E + i   X I O + i   X I E + X R O {\displaystyle {\begin{aligned}{\mathsf {Time\ domain}}\quad &\ x\quad &=\quad &x_{_{RE}}\quad &+\quad &x_{_{RO}}\quad &+\quad i\ &x_{_{IE}}\quad &+\quad &\underbrace {i\ x_{_{IO}}} \\&{\Bigg \Updownarrow }{\mathcal {F}}&&{\Bigg \Updownarrow }{\mathcal {F}}&&\ \ {\Bigg \Updownarrow }{\mathcal {F}}&&\ \ {\Bigg \Updownarrow }{\mathcal {F}}&&\ \ {\Bigg \Updownarrow }{\mathcal {F}}\\{\mathsf {Frequency\ domain}}\quad &X\quad &=\quad &X_{RE}\quad &+\quad &\overbrace {i\ X_{IO}} \quad &+\quad i\ &X_{IE}\quad &+\quad &X_{RO}\end{aligned}}}

From this, various relationships are apparent, for example:

  • The transform of a real-valued function ( x R E + x R O ) {\displaystyle (x_{_{RE}}+x_{_{RO}})} is the even symmetric function X R E + i   X I O . {\displaystyle X_{RE}+i\ X_{IO}.} Conversely, an even-symmetric transform implies a real-valued time-domain.
  • The transform of an imaginary-valued function ( i   x I E + i   x I O ) {\displaystyle (i\ x_{_{IE}}+i\ x_{_{IO}})} is the odd symmetric function X R O + i   X I E , {\displaystyle X_{RO}+i\ X_{IE},} and the converse is true.
  • The transform of an even-symmetric function ( x R E + i   x I O ) {\displaystyle (x_{_{RE}}+i\ x_{_{IO}})} is the real-valued function X R E + X R O , {\displaystyle X_{RE}+X_{RO},} and the converse is true.
  • The transform of an odd-symmetric function ( x R O + i   x I E ) {\displaystyle (x_{_{RO}}+i\ x_{_{IE}})} is the imaginary-valued function i   X I E + i   X I O , {\displaystyle i\ X_{IE}+i\ X_{IO},} and the converse is true.

Relationship to the Z-transform

X 2 π ( ω ) {\displaystyle X_{2\pi }(\omega )} is a Fourier series that can also be expressed in terms of the bilateral Z-transform.  I.e.:

X 2 π ( ω ) = X ^ ( z ) | z = e i ω = X ^ ( e i ω ) , {\displaystyle X_{2\pi }(\omega )=\left.{\widehat {X}}(z)\,\right|_{z=e^{i\omega }}={\widehat {X}}(e^{i\omega }),}

where the X ^ {\displaystyle {\widehat {X}}} 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:

X ^ ( e i ω ) =   X 1 / T ( ω 2 π T )   =   k = X ( ω 2 π T k / T ) = k = X ( ω 2 π k 2 π T ) . {\displaystyle {\begin{aligned}{\widehat {X}}(e^{i\omega })&=\ X_{1/T}\left({\tfrac {\omega }{2\pi T}}\right)\ =\ \sum _{k=-\infty }^{\infty }X\left({\tfrac {\omega }{2\pi T}}-k/T\right)\\&=\sum _{k=-\infty }^{\infty }X\left({\tfrac {\omega -2\pi k}{2\pi T}}\right).\end{aligned}}}

Note that when parameter T changes, the terms of X 2 π ( ω ) {\displaystyle X_{2\pi }(\omega )} remain a constant separation 2 π {\displaystyle 2\pi } 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:

  • ω = 2 π f T {\displaystyle \omega =2\pi fT} is a real number representing continuous angular frequency (in radians per sample). ( f {\displaystyle f} is in cycles/sec, and T {\displaystyle T} is in sec/sample.) In all cases in the table, the DTFT is 2π-periodic (in ω {\displaystyle \omega } ).
  • X 2 π ( ω ) {\displaystyle X_{2\pi }(\omega )} designates a function defined on < ω < {\displaystyle -\infty <\omega <\infty } .
  • X o ( ω ) {\displaystyle X_{o}(\omega )} designates a function defined on π < ω π {\displaystyle -\pi <\omega \leq \pi } , and zero elsewhere. Then:
    X 2 π ( ω )   k = X o ( ω 2 π k ) . {\displaystyle X_{2\pi }(\omega )\ \triangleq \sum _{k=-\infty }^{\infty }X_{o}(\omega -2\pi k).}
  • δ ( ω ) {\displaystyle \delta (\omega )} is the Dirac delta function
  • sinc ( t ) {\displaystyle \operatorname {sinc} (t)} is the normalized sinc function
  • rect [ n L ] { 1 | n | L / 2 0 | n | > L / 2 {\displaystyle \operatorname {rect} \left[{n \over L}\right]\triangleq {\begin{cases}1&|n|\leq L/2\\0&|n|>L/2\end{cases}}}
  • tri ( t ) {\displaystyle \operatorname {tri} (t)} is the triangle function
  • n is an integer representing the discrete-time domain (in samples)
  • u [ n ] {\displaystyle u[n]} is the discrete-time unit step function
  • δ [ n ] {\displaystyle \delta [n]} is the Kronecker delta δ n , 0 {\displaystyle \delta _{n,0}}
Time domain
x[n]
Frequency domain
X2π(ω)
Remarks Reference
δ [ n ] {\displaystyle \delta [n]} X 2 π ( ω ) = 1 {\displaystyle X_{2\pi }(\omega )=1} [17]: p.305 
δ [ n M ] {\displaystyle \delta [n-M]} X 2 π ( ω ) = e i ω M {\displaystyle X_{2\pi }(\omega )=e^{-i\omega M}} integer M {\displaystyle M}
m = δ [ n M m ] {\displaystyle \sum _{m=-\infty }^{\infty }\delta [n-Mm]\!} X 2 π ( ω ) = m = e i ω M m = 2 π M k = δ ( ω 2 π k M ) {\displaystyle X_{2\pi }(\omega )=\sum _{m=-\infty }^{\infty }e^{-i\omega Mm}={\frac {2\pi }{M}}\sum _{k=-\infty }^{\infty }\delta \left(\omega -{\frac {2\pi k}{M}}\right)\,}

X o ( ω ) = 2 π M k = ( M 1 ) / 2 ( M 1 ) / 2 δ ( ω 2 π k M ) {\displaystyle X_{o}(\omega )={\frac {2\pi }{M}}\sum _{k=-(M-1)/2}^{(M-1)/2}\delta \left(\omega -{\frac {2\pi k}{M}}\right)\,}     odd M
X o ( ω ) = 2 π M k = M / 2 + 1 M / 2 δ ( ω 2 π k M ) {\displaystyle X_{o}(\omega )={\frac {2\pi }{M}}\sum _{k=-M/2+1}^{M/2}\delta \left(\omega -{\frac {2\pi k}{M}}\right)\,}     even M

integer M > 0 {\displaystyle M>0}
u [ n ] {\displaystyle u[n]} X 2 π ( ω ) = 1 1 e i ω + π k = δ ( ω 2 π k ) {\displaystyle X_{2\pi }(\omega )={\frac {1}{1-e^{-i\omega }}}+\pi \sum _{k=-\infty }^{\infty }\delta (\omega -2\pi k)\!}

X o ( ω ) = 1 1 e i ω + π δ ( ω ) {\displaystyle X_{o}(\omega )={\frac {1}{1-e^{-i\omega }}}+\pi \cdot \delta (\omega )\!}

The 1 / ( 1 e i ω ) {\displaystyle 1/(1-e^{-i\omega })} term must be interpreted as a distribution in the sense of a Cauchy principal value around its poles at ω = 2 π k {\displaystyle \omega =2\pi k} .
a n u [ n ] {\displaystyle a^{n}u[n]} X 2 π ( ω ) = 1 1 a e i ω {\displaystyle X_{2\pi }(\omega )={\frac {1}{1-ae^{-i\omega }}}\!} 0 < | a | < 1 {\displaystyle 0<|a|<1} [17]: p.305 
e i a n {\displaystyle e^{-ian}} X o ( ω ) = 2 π δ ( ω + a ) , {\displaystyle X_{o}(\omega )=2\pi \cdot \delta (\omega +a),}     -π < a < π

X 2 π ( ω ) = 2 π k = δ ( ω + a 2 π k ) {\displaystyle X_{2\pi }(\omega )=2\pi \sum _{k=-\infty }^{\infty }\delta (\omega +a-2\pi k)}

real number a {\displaystyle a}
cos ( a n ) {\displaystyle \cos(a\cdot n)} X o ( ω ) = π [ δ ( ω a ) + δ ( ω + a ) ] , {\displaystyle X_{o}(\omega )=\pi \left[\delta \left(\omega -a\right)+\delta \left(\omega +a\right)\right],}

X 2 π ( ω )   k = X o ( ω 2 π k ) {\displaystyle X_{2\pi }(\omega )\ \triangleq \sum _{k=-\infty }^{\infty }X_{o}(\omega -2\pi k)}

real number a {\displaystyle a} with π < a < π {\displaystyle -\pi <a<\pi }
sin ( a n ) {\displaystyle \sin(a\cdot n)} X o ( ω ) = π i [ δ ( ω a ) δ ( ω + a ) ] {\displaystyle X_{o}(\omega )={\frac {\pi }{i}}\left[\delta \left(\omega -a\right)-\delta \left(\omega +a\right)\right]} real number a {\displaystyle a} with π < a < π {\displaystyle -\pi <a<\pi }
rect [ n M N ] rect [ n M N 1 ] {\displaystyle \operatorname {rect} \left[{n-M \over N}\right]\equiv \operatorname {rect} \left[{n-M \over N-1}\right]} X o ( ω ) = sin ( N ω / 2 ) sin ( ω / 2 ) e i ω M {\displaystyle X_{o}(\omega )={\sin(N\omega /2) \over \sin(\omega /2)}\,e^{-i\omega M}\!} integer M , {\displaystyle M,} and odd integer N {\displaystyle N}
sinc ( W ( n + a ) ) {\displaystyle \operatorname {sinc} (W(n+a))} X o ( ω ) = 1 W rect ( ω 2 π W ) e i a ω {\displaystyle X_{o}(\omega )={\frac {1}{W}}\operatorname {rect} \left({\omega \over 2\pi W}\right)e^{ia\omega }} real numbers W , a {\displaystyle W,a} with 0 < W < 1 {\displaystyle 0<W<1}
sinc 2 ( W n ) {\displaystyle \operatorname {sinc} ^{2}(Wn)\,} X o ( ω ) = 1 W tri ( ω 2 π W ) {\displaystyle X_{o}(\omega )={\frac {1}{W}}\operatorname {tri} \left({\omega \over 2\pi W}\right)} real number W {\displaystyle W} , 0 < W < 0.5 {\displaystyle 0<W<0.5}
{ 0 n = 0 ( 1 ) n n elsewhere {\displaystyle {\begin{cases}0&n=0\\{\frac {(-1)^{n}}{n}}&{\text{elsewhere}}\end{cases}}} X o ( ω ) = j ω {\displaystyle X_{o}(\omega )=j\omega } it works as a differentiator filter
1 ( n + a ) { cos [ π W ( n + a ) ] sinc [ W ( n + a ) ] } {\displaystyle {\frac {1}{(n+a)}}\left\{\cos[\pi W(n+a)]-\operatorname {sinc} [W(n+a)]\right\}} X o ( ω ) = j ω W rect ( ω π W ) e j a ω {\displaystyle X_{o}(\omega )={\frac {j\omega }{W}}\cdot \operatorname {rect} \left({\omega \over \pi W}\right)e^{ja\omega }} real numbers W , a {\displaystyle W,a} with 0 < W < 1 {\displaystyle 0<W<1}
{ π 2 n = 0 ( 1 ) n 1 π n 2  otherwise {\displaystyle {\begin{cases}{\frac {\pi }{2}}&n=0\\{\frac {(-1)^{n}-1}{\pi n^{2}}}&{\text{ otherwise}}\end{cases}}} X o ( ω ) = | ω | {\displaystyle X_{o}(\omega )=|\omega |}
{ 0 ; n  even 2 π n ; n  odd {\displaystyle {\begin{cases}0;&n{\text{ even}}\\{\frac {2}{\pi n}};&n{\text{ odd}}\end{cases}}} X o ( ω ) = { j ω < 0 0 ω = 0 j ω > 0 {\displaystyle X_{o}(\omega )={\begin{cases}j&\omega <0\\0&\omega =0\\-j&\omega >0\end{cases}}} Hilbert transform
C ( A + B ) 2 π sinc [ A B 2 π n ] sinc [ A + B 2 π n ] {\displaystyle {\frac {C(A+B)}{2\pi }}\cdot \operatorname {sinc} \left[{\frac {A-B}{2\pi }}n\right]\cdot \operatorname {sinc} \left[{\frac {A+B}{2\pi }}n\right]} X o ( ω ) = {\displaystyle X_{o}(\omega )=} real numbers A , B {\displaystyle A,B}
complex C {\displaystyle C}

Properties

This table shows some mathematical operations in the time domain and the corresponding effects in the frequency domain.

Property Time domain
x[n]
Frequency domain
X 2 π ( ω ) {\displaystyle X_{2\pi }(\omega )}
Remarks Reference
Linearity a x [ n ] + b y [ n ] {\displaystyle a\cdot x[n]+b\cdot y[n]} a X 2 π ( ω ) + b Y 2 π ( ω ) {\displaystyle a\cdot X_{2\pi }(\omega )+b\cdot Y_{2\pi }(\omega )} complex numbers a , b {\displaystyle a,b} [17]: p.294 
Time reversal / Frequency reversal x [ n ] {\displaystyle x[-n]} X 2 π ( ω ) {\displaystyle X_{2\pi }(-\omega )\!} [17]: p.297 
Time conjugation x [ n ] {\displaystyle x[n]^{*}} X 2 π ( ω ) {\displaystyle X_{2\pi }(-\omega )^{*}\!} [17]: p.291 
Time reversal & conjugation x [ n ] {\displaystyle x[-n]^{*}} X 2 π ( ω ) {\displaystyle X_{2\pi }(\omega )^{*}\!} [17]: p.291 
Real part in time ( x [ n ] ) {\displaystyle \Re {(x[n])}} 1 2 ( X 2 π ( ω ) + X 2 π ( ω ) ) {\displaystyle {\frac {1}{2}}(X_{2\pi }(\omega )+X_{2\pi }^{*}(-\omega ))} [17]: p.291 
Imaginary part in time ( x [ n ] ) {\displaystyle \Im {(x[n])}} 1 2 i ( X 2 π ( ω ) X 2 π ( ω ) ) {\displaystyle {\frac {1}{2i}}(X_{2\pi }(\omega )-X_{2\pi }^{*}(-\omega ))} [17]: p.291 
Real part in frequency 1 2 ( x [ n ] + x [ n ] ) {\displaystyle {\frac {1}{2}}(x[n]+x^{*}[-n])} ( X 2 π ( ω ) ) {\displaystyle \Re {(X_{2\pi }(\omega ))}} [17]: p.291 
Imaginary part in frequency 1 2 i ( x [ n ] x [ n ] ) {\displaystyle {\frac {1}{2i}}(x[n]-x^{*}[-n])} ( X 2 π ( ω ) ) {\displaystyle \Im {(X_{2\pi }(\omega ))}} [17]: p.291 
Shift in time / Modulation in frequency x [ n k ] {\displaystyle x[n-k]} X 2 π ( ω ) e i ω k {\displaystyle X_{2\pi }(\omega )\cdot e^{-i\omega k}} integer k [17]: p.296 
Shift in frequency / Modulation in time x [ n ] e i a n {\displaystyle x[n]\cdot e^{ian}\!} X 2 π ( ω a ) {\displaystyle X_{2\pi }(\omega -a)\!} real number a {\displaystyle a} [17]: p.300 
Decimation x [ n M ] {\displaystyle x[nM]} 1 M m = 0 M 1 X 2 π ( ω 2 π m M ) {\displaystyle {\frac {1}{M}}\sum _{m=0}^{M-1}X_{2\pi }\left({\tfrac {\omega -2\pi m}{M}}\right)\!}   [E] integer M {\displaystyle M}
Time Expansion { x [ n / M ] n = multiple of M 0 otherwise {\displaystyle \scriptstyle {\begin{cases}x[n/M]&n={\text{multiple of M}}\\0&{\text{otherwise}}\end{cases}}} X 2 π ( M ω ) {\displaystyle X_{2\pi }(M\omega )\!} integer M {\displaystyle M} [1]: p.172 
Derivative in frequency n i x [ n ] {\displaystyle {\frac {n}{i}}x[n]\!} d X 2 π ( ω ) d ω {\displaystyle {\frac {dX_{2\pi }(\omega )}{d\omega }}\!} [17]: p.303 
Integration in frequency {\displaystyle \!} {\displaystyle \!}
Differencing in time x [ n ] x [ n 1 ] {\displaystyle x[n]-x[n-1]\!} ( 1 e i ω ) X 2 π ( ω ) {\displaystyle \left(1-e^{-i\omega }\right)X_{2\pi }(\omega )\!}
Summation in time m = n x [ m ] {\displaystyle \sum _{m=-\infty }^{n}x[m]\!} 1 ( 1 e i ω ) X 2 π ( ω ) + π X ( 0 ) k = δ ( ω 2 π k ) {\displaystyle {\frac {1}{\left(1-e^{-i\omega }\right)}}X_{2\pi }(\omega )+\pi X(0)\sum _{k=-\infty }^{\infty }\delta (\omega -2\pi k)\!}
Convolution in time / Multiplication in frequency x [ n ] y [ n ] {\displaystyle x[n]*y[n]\!} X 2 π ( ω ) Y 2 π ( ω ) {\displaystyle X_{2\pi }(\omega )\cdot Y_{2\pi }(\omega )\!} [17]: p.297 
Multiplication in time / Convolution in frequency x [ n ] y [ n ] {\displaystyle x[n]\cdot y[n]\!} 1 2 π π π X 2 π ( ν ) Y 2 π ( ω ν ) d ν {\displaystyle {\frac {1}{2\pi }}\int _{-\pi }^{\pi }X_{2\pi }(\nu )\cdot Y_{2\pi }(\omega -\nu )d\nu \!} Periodic convolution [17]: p.302 
Cross correlation ρ x y [ n ] = x [ n ] y [ n ] {\displaystyle \rho _{xy}[n]=x[-n]^{*}*y[n]\!} R x y ( ω ) = X 2 π ( ω ) Y 2 π ( ω ) {\displaystyle R_{xy}(\omega )=X_{2\pi }(\omega )^{*}\cdot Y_{2\pi }(\omega )\!}
Parseval's theorem E x y = n = x [ n ] y [ n ] {\displaystyle E_{xy}=\sum _{n=-\infty }^{\infty }{x[n]\cdot y[n]^{*}}\!} E x y = 1 2 π π π X 2 π ( ω ) Y 2 π ( ω ) d ω {\displaystyle E_{xy}={\frac {1}{2\pi }}\int _{-\pi }^{\pi }{X_{2\pi }(\omega )\cdot Y_{2\pi }(\omega )^{*}d\omega }\!} [17]: p.302 

See also

Notes

  1. ^ When the dependency on T is unimportant, a common practice is to replace it with 1. {\displaystyle 1.} Then f  has units of (cycles/sample), called normalized frequency.
  2. ^ In fact Eq.2 is often justified as follows:[1]: p.143 
    F { n = T x ( n T ) δ ( t n T ) } = F { x ( t ) T n = δ ( t n T ) } = X ( f ) F { T n = δ ( t n T ) } = X ( f ) k = δ ( f k T ) = k = X ( f k T ) . {\displaystyle {\begin{aligned}{\mathcal {F}}\left\{\sum _{n=-\infty }^{\infty }T\cdot x(nT)\cdot \delta (t-nT)\right\}&={\mathcal {F}}\left\{x(t)\cdot T\sum _{n=-\infty }^{\infty }\delta (t-nT)\right\}\\&=X(f)*{\mathcal {F}}\left\{T\sum _{n=-\infty }^{\infty }\delta (t-nT)\right\}\\&=X(f)*\sum _{k=-\infty }^{\infty }\delta \left(f-{\frac {k}{T}}\right)\\&=\sum _{k=-\infty }^{\infty }X\left(f-{\frac {k}{T}}\right).\end{aligned}}}
  3. ^ WOLA should not be confused with the Overlap-add method of piecewise convolution.
  4. ^ WOLA example: File:WOLA channelizer example.png
  5. ^ This expression is derived as follows:[1]: p.168 
    n = x ( n M T )   e i ω n = 1 M T k = X ( ω 2 π M T k M T ) = 1 M T m = 0 M 1 n = X ( ω 2 π M T m M T n T ) , where k m + n M = 1 M m = 0 M 1 1 T n = X ( ( ω 2 π m ) / M 2 π T n T ) = 1 M m = 0 M 1 X 2 π ( ω 2 π m M ) {\displaystyle {\begin{aligned}\sum _{n=-\infty }^{\infty }x(nMT)\ e^{-i\omega n}&={\frac {1}{MT}}\sum _{k=-\infty }^{\infty }X\left({\tfrac {\omega }{2\pi MT}}-{\tfrac {k}{MT}}\right)\\&={\frac {1}{MT}}\sum _{m=0}^{M-1}\quad \sum _{n=-\infty }^{\infty }X\left({\tfrac {\omega }{2\pi MT}}-{\tfrac {m}{MT}}-{\tfrac {n}{T}}\right),\quad {\text{where}}\quad k\rightarrow m+nM\\&={\frac {1}{M}}\sum _{m=0}^{M-1}\quad {\frac {1}{T}}\sum _{n=-\infty }^{\infty }X\left({\tfrac {(\omega -2\pi m)/M}{2\pi T}}-{\tfrac {n}{T}}\right)\\&={\frac {1}{M}}\sum _{m=0}^{M-1}\quad X_{2\pi }\left({\tfrac {\omega -2\pi m}{M}}\right)\end{aligned}}}

Page citations

  1. ^ Compare to Oppenheim and Schafer,[1] p 147 (4.20), p 694 (10.1), and Prandoni and Vetterli,[2] p 255, (9.33), where:   ω 2 π f T , {\displaystyle \omega \triangleq 2\pi fT,}   and   X c ( i 2 π f ) X ( f ) . {\displaystyle X_{c}(i2\pi f)\triangleq X(f).}
  2. ^ Compare to Oppenheim and Schafer,[1] p 551 (8.35), and Prandoni and Vetterli,[2] p 82, (4.43), where:   ω 2 π f T , {\displaystyle \omega \triangleq 2\pi fT,}   X ~ [ k ] X [ k ] , {\displaystyle {\tilde {X}}[k]\triangleq X[k],}   and   δ ( 2 π f T 2 π k N ) δ ( f k N T ) / ( 2 π T ) . {\displaystyle \delta \left(2\pi fT-{\tfrac {2\pi k}{N}}\right)\equiv \delta \left(f-{\tfrac {k}{NT}}\right)/(2\pi T).}
  3. ^ Oppenheim and Schafer,[1] p 60, (2.169), and Prandoni and Vetterli,[2] p 122, (5.21)

References

  1. ^ a b c d e f g h i j k Oppenheim, Alan V.; Schafer, Ronald W.; Buck, John R. (1999). "4.2, 8.4". Discrete-time signal processing (2nd ed.). Upper Saddle River, N.J.: Prentice Hall. ISBN 0-13-754920-2. samples of the Fourier transform of an aperiodic sequence x[n] can be thought of as DFS coefficients of a periodic sequence obtained through summing periodic replicas of x[n]. 
  2. ^ a b c Prandoni, Paolo; Vetterli, Martin (2008). Signal Processing for Communications (PDF) (1 ed.). Boca Raton, FL: CRC Press. pp. 72, 76. ISBN 978-1-4200-7046-0. Retrieved 4 October 2020. the DFS coefficients for the periodized signal are a discrete set of values for its DTFT
  3. ^ Rao, R. (2008). Signals and Systems. Prentice-Hall Of India Pvt. Limited. ISBN 9788120338593.
  4. ^ "Periodogram power spectral density estimate - MATLAB periodogram".
  5. ^ Gumas, Charles Constantine (July 1997). "Window-presum FFT achieves high-dynamic range, resolution". Personal Engineering & Instrumentation News: 58–64. Archived from the original on 2001-02-10.{{cite journal}}: CS1 maint: bot: original URL status unknown (link)
  6. ^ Crochiere, R.E.; Rabiner, L.R. (1983). "7.2". Multirate Digital Signal Processing. Englewood Cliffs, NJ: Prentice-Hall. pp. 313–326. ISBN 0136051626.
  7. ^ 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. ISBN 0-7803-9582-4. S2CID 42688070.
  8. ^ Lyons, Richard G. (June 2008). "DSP Tricks: Building a practical spectrum analyzer". EE Times. Retrieved 2020-02-20.   Note however, that it contains a link labeled weighted overlap-add structure which incorrectly goes to Overlap-add method.
  9. ^ a b Lillington, John (March 2003). "Comparison of Wideband Channelisation Architectures" (PDF). Dallas: International Signal Processing Conference. p. 4 (fig 7). S2CID 31525301. 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.
  10. ^ a b 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.
  11. ^ Hochgürtel, Stefan (2013). "Efficient implementations of high-resolution wideband FFT-spectrometers and their application to an APEX Galactic Center line survey" (PDF). hss.ulb.uni-bonn.de. Bonn: Rhenish Friedrich Wilhelms University of Bonn. pp. 26–27. Retrieved 2020-09-06. To perform M-fold WOLA for an N-point DFT, M·N real input samples aj first multiplied by a window function wj of same size
  12. ^ Chennamangalam, Jayanth (2016-10-18). "The Polyphase Filter Bank Technique". CASPER Group. Retrieved 2016-10-30.
  13. ^ Dahl, Jason F. (2003-02-06). Time Aliasing Methods of Spectrum Estimation (Ph.D.). Brigham Young University. Retrieved 2016-10-31.
  14. ^ Lin, Yuan-Pei; Vaidyanathan, P.P. (June 1998). "A Kaiser Window Approach for the Design of Prototype Filters of Cosine Modulated Filterbanks" (PDF). IEEE Signal Processing Letters. 5 (6): 132–134. Bibcode:1998ISPL....5..132L. doi:10.1109/97.681427. S2CID 18159105. Retrieved 2017-03-16.
  15. ^ Harris, Frederic J. (2004-05-24). "9". Multirate Signal Processing for Communication Systems. Upper Saddle River, NJ: Prentice Hall PTR. pp. 226–253. ISBN 0131465112.
  16. ^ Harris, Fredric J. (Jan 1978). "On the use of Windows for Harmonic Analysis with the Discrete Fourier Transform" (PDF). Proceedings of the IEEE. 66 (1): 51–83. Bibcode:1978IEEEP..66...51H. CiteSeerX 10.1.1.649.9880. doi:10.1109/PROC.1978.10837. S2CID 426548.
  17. ^ a b c d e f g h i j k l m n o p q r Proakis, John G.; Manolakis, Dimitri G. (1996). Digital Signal Processing: Principles, Algorithms and Applications (3 ed.). New Jersey: Prentice-Hall International. Bibcode:1996dspp.book.....P. ISBN 9780133942897. sAcfAQAAIAAJ.
  18. ^ Rabiner, Lawrence R.; Gold, Bernard (1975). Theory and application of digital signal processing. Englewood Cliffs, NJ: Prentice-Hall, Inc. p. 59 (2.163). ISBN 978-0139141010.

Further reading

  • Porat, Boaz (1996). A Course in Digital Signal Processing. John Wiley and Sons. pp. 27–29 and 104–105. ISBN 0-471-14961-6.
  • Siebert, William M. (1986). Circuits, Signals, and Systems. MIT Electrical Engineering and Computer Science Series. Cambridge, MA: MIT Press. ISBN 0262690950.
  • Lyons, Richard G. (2010). Understanding Digital Signal Processing (3rd ed.). Prentice Hall. ISBN 978-0137027415.