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. 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, 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 reconstructs the original sampled data sequence, while the inverse DFT produces 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.
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, where f represents frequency in Hertz and t represents time in seconds:
S(f)≜∫−∞∞s(t)⋅e−i2πftdt. We can reduce the integral into a summation by sampling s(t) at intervals of T seconds (see Fourier transform § Numerical integration of a series of ordered pairs). 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):
S1/T(f)≜∑n=−∞∞T⋅s(nT)⏟s[n] e−i2πfTn. This Fourier series (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, ω≜2πfT (which has normalized units of radians/sample), giving us a periodic function of angular frequency, with periodicity 2π:
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 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, fs=1/T. 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. Fig.1 depicts an example where 1/T is not large enough to prevent aliasing. We also note that e−i2πfTn is the Fourier transform of δ(t−nT). Therefore, an alternative definition of DTFT is:
The modulated Dirac comb 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 Eq.3 produces the sequence in the form of a modulated Dirac comb function:
∑n=−∞∞s[n]⋅δ(t−nT)=ℱ−1{S1/T(f)} ≜∫−∞∞S1/T(f)⋅ei2πftdf. However, noting that S1/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 s[n]. The standard formulas for the Fourier coefficients are also the inverse transforms:
Periodic data When the input data sequence s[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. S1/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 s[n] 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[n] sequence is:
S[k]≜∑Ns[n]⋅e−i2πkNn⏟any n-sequence of length N,k∈𝐙. And s[n] can be expressed in terms of the inverse transform, which is sometimes referred to as a discrete Fourier series (DFS):
s[n]=1N∑NS[k]⋅ei2πkNn⏟any k-sequence of length N,n∈𝐙. With these definitions, we can demonstrate the relationship between the DTFT and the DFT:
S1/T(f)≜∑n=−∞∞s[n]⋅e−i2πfnT=∑n=−∞∞[1N∑k=0N−1S[k]⋅ei2πkNn]⋅e−i2πfnT=1N∑k=0N−1S[k][∑n=−∞∞ei2πkNn⋅e−i2πfnT]⏟DTFT(ei2πkNn)=1N∑k=0N−1S[k]⋅1T∑M=−∞∞δ(f−kNT−MT) Due to the N-periodicity of both functions of k, this can be simplified to:
S1/T(f)=1NT∑k=−∞∞S[k]⋅δ(f−kNT), which satisfies the inverse transform requirement:
s[n]=T∫01TS1/T(f)⋅ei2πfnTdf=1N∑k=−∞∞S[k]∫01Tδ(f−kNT)ei2πfnTdf⏟zero for k ∉ [0,N−1]=1N∑k=0N−1S[k]∫01Tδ(f−kNT)ei2πfnTdf=1N∑k=0N−1S[k]⋅ei2πkNTnT=1N∑k=0N−1S[k]⋅ei2πkNn
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 S1/T:
S1/T(kNT)⏟Sk=∑n=−∞∞s[n]⋅e−i2πkNnk=0,…,N−1=∑NsN[n]⋅e−i2πkNn,⏟DFT(sum over any n-sequence of length N) where sN is a periodic summation:
… excerpt ends here. Continue reading the full article.



