7.3 Relation between Fourier series coefficients and DFTs

In the above, we go through the process “Fourier seriesFourier transformation DFT”, which corresponds to going from the discrete case (Fourier series) to the continuous case (Fourier transformation), and then back to the discrete case (DFT). Since both Fourier series and DFT are discrete in frequency, it is instructive to examine the relation between the Fourier coefficient cn and the DFT Hn. The Fourier coefficient of h(t) is given by Eq. (93), i.e.,

     1∫ T∕2
cn =--     h (t)ein2πt∕Tdt,
    T  −T ∕2
(77)

which can be equivalently written

         ∫ T∕2
c(fn) = 1     h(t)ei2πtfndt,
       T  −T∕2
(78)

where fn = n∕T. On the other hand, if h(t) is sampled with sampling rate fs = 1Δ, then the number of sampling points per period is N = T∕Δ. Then the frequency at which the Fourier transform H(f) is evaluated in getting the DFT [Eq. (36)] is written

fn = -n--= n-,
     ΔN    T
(79)

which is identical to the frequency to which the Fourier coefficient cn corresponds. Using fn = n∕N) in Eq. (78), we obtain

           ∫ T∕2       (      )
c(fn)  =  -1      h(t)exp  i2πtn-  dt.
         T  − T∕2          ΔN
          1  N∑−1      ( 2πi   )
      ≈  --Δ    hj exp  ---nj                 (80)
         T   j=0        N
         -1
      =  T ΔHn
         -1
      =  N Hn                                 (81)
i.e., dividing the DFT Hn by N gives the corresponding Fourier expansion coefficient cn. We can further use Eqs. (29) and (30) to recover the Fourier coefficients in terms of trigonometric functions cosine and sine,

Note that the approximation in Eq. (80) becomes an exact relation if the largest frequency contained in h(t) is less than 1(2Δ).