Skip to content Skip to sidebar Skip to footer

Go From Continuous to Discrete Fourier Transform

Fourier analysis technique applied to sequences

In mathematics, the discrete-time Fourier transform (DTFT) is a form of Fourier analysis that is applicable to a sequence of 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.

Definition [edit]

The discrete-time Fourier transform of a discrete sequence of real or complex numbers x[n], for all integers n, is a Fourier series, which produces a periodic function of a frequency variable. When the frequency variable, ω, has normalized units of radians/sample, the periodicity is , and the Fourier series is: [1] : p.147

X 2 π ( ω ) = n = x [ n ] e i ω n . {\displaystyle X_{2\pi }(\omega )=\sum _{n=-\infty }^{\infty }x[n]\,e^{-i\omega n}.}

(Eq.1)

The utility of this frequency domain function is rooted in the Poisson summation formula. Let X(f) be the Fourier transform of any function, x(t), whose samples at some interval T (seconds) are equal (or proportional) to the x[n] sequence, i.e. Tx(nT) = x[n].[2]  Then the periodic function represented by the Fourier series is a periodic summation of X(f) in terms of frequency f in hertz (cycles/sec): [a] [A]

X 1 / T ( f ) = X 2 π ( 2 π f T ) n = T x ( n T ) x [ n ] e i 2 π f T n = P o i s s o n f . k = X ( f k / T ) . {\displaystyle X_{1/T}(f)=X_{2\pi }(2\pi fT)\ \triangleq \sum _{n=-\infty }^{\infty }\underbrace {T\cdot x(nT)} _{x[n]}\ e^{-i2\pi fTn}\;{\stackrel {\mathrm {Poisson\;f.} }{=}}\;\sum _{k=-\infty }^{\infty }X\left(f-k/T\right).}

(Eq.2)

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 integer k has units of cycles/sample, and 1/T is the sample-rate, fs (samples/sec). So X 1/T (f) comprises exact copies of X(f) that are shifted by multiples of fs hertz and combined by addition. For sufficiently large fs the k = 0 term can be observed in the region [−fs /2, fs /2] with little or no distortion (aliasing) from the other terms. In Fig.1, the extremities of the distribution in the upper left corner are masked by aliasing in the periodic summation (lower left).

We also note that e i2πfTn is the Fourier transform of δ(tnT). 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.[4]

Inverse transform [edit]

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) is periodic, all the necessary information is contained within any interval of length 1/T . In both Eq.1 and Eq.2, the summations over n are a Fourier series, with coefficients 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 [edit]

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.
  • X 1/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

The DFT coefficients are given by:

X [ k ] N x ( n T ) e i 2 π k N n any n-sequence of length N , {\displaystyle X[k]\triangleq \underbrace {\sum _{N}x(nT)\cdot e^{-i2\pi {\frac {k}{N}}n}} _{\text{any n-sequence of length N}},} and the DTFT is:
X 1 / T ( f ) = 1 N k = X [ k ] δ ( f k N T ) . {\displaystyle X_{1/T}(f)={\frac {1}{N}}\sum _{k=-\infty }^{\infty }X[k]\cdot \delta \left(f-{\frac {k}{NT}}\right).} [b]

Substituting this expression into the inverse transform formula confirms:

1 T X 1 / T ( f ) e i 2 π f n T d f = 1 N N X [ k ] e i 2 π n N k any k-sequence of length N x ( n T ) , n Z {\displaystyle \int _{\frac {1}{T}}X_{1/T}(f)\cdot e^{i2\pi fnT}df\ =\ {\frac {1}{N}}\underbrace {\sum _{N}X[k]\cdot e^{i2\pi {\frac {n}{N}}k}} _{\text{any k-sequence of length N}}\ \equiv \ x(nT),\quad n\in \mathbb {Z} \,} (all integers)

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 [edit]

When the DTFT is continuous, a common practice is to compute an arbitrary number of samples (N) of one cycle of the periodic function 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 values is known as a periodogram, and the parameter N is called NFFT in the Matlab function of the same name.[5]

In order to evaluate one cycle of x N {\displaystyle x_{_{N}}} 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 = NI , for some integer I (typically 6 or 8)

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

  • window-presum FFT [6]
  • Weight, overlap, add (WOLA) [7] [8] [9] [10] [11] [12] [C] [D]
  • polyphase DFT [10] [11]
  • polyphase filter bank [13]
  • multiple block windowing and time-aliasing.[14]

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 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, scalloping loss would be unacceptable. So multi-block windows are created using FIR filter design tools.[15] [16]  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 ( x {\displaystyle x} ) is truncated by 1 coefficient it is called periodic or DFT-even. The truncation affects the DTFT.  A DFT of the truncated sequence samples the DTFT at frequency intervals of 1/N . To sample x {\displaystyle x} at the same frequencies, for comparison, the DFT is computed for one cycle of the periodic summation, x N . {\displaystyle x_{_{N}}.} [E]

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

Fig 3. DFT of e i2πn/8 for L = 64 and N = 64

Case: Frequency interpolation. LN

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 terms, even though NL 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:

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. 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).

Convolution [edit]

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].} [18] : 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].} [19] [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 [edit]

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: [18] : 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 RE + x RO ) is the even symmetric function 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 IE + i x IO ) is the odd symmetric function X RO + i X IE , and the converse is true.
  • The transform of an even-symmetric function ( x RE + i x IO ) is the real-valued function X RE + X RO , and the converse is true.
  • The transform of an odd-symmetric function ( x RO + i x IE ) is the imaginary-valued function i X IE + i X IO , and the converse is true.

Relationship to the Z-transform [edit]

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 X 1/T (f) remain a constant width and their separation 1/T scales up or down.

Table of discrete-time Fourier transforms [edit]

Some common transform pairs are shown in the table below. The following notation applies:

Time domain
x[n]
Frequency domain
X 2π (ω)
Remarks Reference
δ [ n ] {\displaystyle \delta [n]} X 2 π ( ω ) = 1 {\displaystyle X_{2\pi }(\omega )=1} [18] : 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} [18] : 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 )=} Trapezoid signal.svg real numbers A , B {\displaystyle A,B}
complex C {\displaystyle C}

Properties [edit]

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} [18] : p.294
Time reversal / Frequency reversal x [ n ] {\displaystyle x[-n]} X 2 π ( ω ) {\displaystyle X_{2\pi }(-\omega )\!} [18] : p.297
Time conjugation x [ n ] {\displaystyle x[n]^{*}} X 2 π ( ω ) {\displaystyle X_{2\pi }(-\omega )^{*}\!} [18] : p.291
Time reversal & conjugation x [ n ] {\displaystyle x[-n]^{*}} X 2 π ( ω ) {\displaystyle X_{2\pi }(\omega )^{*}\!} [18] : 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 ))} [18] : 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 ))} [18] : 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 ))}} [18] : 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 ))}} [18] : 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 [18] : 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} [18] : 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)\!} [F] 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 }}\!} [18] : 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 )\!} [18] : 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 [18] : 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 }\!} [18] : p.302

See also [edit]

  • Least-squares spectral analysis
  • Multidimensional transform
  • Zak transform

Notes [edit]

  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. ^ An example is figure Sampling the DTFT. The real-valued DFT samples are a result of DFT-even symmetry [17] : p.52
  6. ^ 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 [edit]

  1. ^ Oppenheim and Schafer,[1] p 147 (4.20), p 694 (10.1), and Prandoni and Vetterli,[3] p 255, (9.33), where: T X ( e i ω ) X 2 π ( ω ) , {\displaystyle T\cdot X(e^{i\omega })\triangleq X_{2\pi }(\omega ),} ω 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. ^ Oppenheim and Schafer,[1] p 551 (8.35), and Prandoni and Vetterli,[3] p 82, (4.43), where: T X ~ ( e i ω ) X 2 π ( ω ) , {\displaystyle T\cdot {\tilde {X}}(e^{i\omega })\triangleq X_{2\pi }(\omega ),} ω 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,[3] p 122, (5.21)

References [edit]

  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. ISBN0-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].   url=https://d1.amobbs.com/bbs_upload782111/files_24/ourdev_523225.pdf
  2. ^ Ahmed, N.; Rao, K.R. (July 10, 1975). Orthogonal Transforms for Digital Signal Processing (1 ed.). Berlin Heidelberg New York: Springer-Verlag. doi:10.1007/978-3-642-45450-9. ISBN9783540065562.
  3. ^ a b c 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
  4. ^ Rao, R. (2008). Signals and Systems. Prentice-Hall Of India Pvt. Limited. ISBN9788120338593.
  5. ^ "Periodogram power spectral density estimate - MATLAB periodogram".
  6. ^ 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)
  7. ^ Crochiere, R.E.; Rabiner, L.R. (1983). "7.2". Multirate Digital Signal Processing. Englewood Cliffs, NJ: Prentice-Hall. pp. 313–326. ISBN0136051626.
  8. ^ Wang, Hong; Lu, Youxin; Wang, Xuegang (16 October 2006). "Channelized Receiver with WOLA Filterbank". 2006 CIE International Conference on Radar. Shanghai, China: IEEE: 1–3. doi:10.1109/ICR.2006.343463. ISBN0-7803-9582-4.
  9. ^ 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.
  10. ^ a b Lillington, John (March 2003). "Comparison of Wideband Channelisation Architectures" (PDF). Dallas: International Signal Processing Conference. p. 4 (fig 7). 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.
  11. ^ 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.
  12. ^ 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
  13. ^ Chennamangalam, Jayanth (2016-10-18). "The Polyphase Filter Bank Technique". CASPER Group. Retrieved 2016-10-30 .
  14. ^ Dahl, Jason F. (2003-02-06). Time Aliasing Methods of Spectrum Estimation (Ph.D.). Brigham Young University. Retrieved 2016-10-31 .
  15. ^ 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. Retrieved 2017-03-16 .
  16. ^ Harris, Frederic J. (2004-05-24). "9". Multirate Signal Processing for Communication Systems. Upper Saddle River, NJ: Prentice Hall PTR. pp. 226–253. ISBN0131465112.
  17. ^ 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. CiteSeerX10.1.1.649.9880. doi:10.1109/PROC.1978.10837.
  18. ^ 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. ISBN9780133942897. sAcfAQAAIAAJ.
  19. ^ Rabiner, Lawrence R.; Gold, Bernard (1975). Theory and application of digital signal processing . Englewood Cliffs, NJ: Prentice-Hall, Inc. p. 59 (2.163). ISBN978-0139141010.

Further reading [edit]

  • 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.

gowdythoughty.blogspot.com

Source: https://en.wikipedia.org/wiki/Discrete-time_Fourier_transform

Post a Comment for "Go From Continuous to Discrete Fourier Transform"