
The 1-D Continuous-Time. Fourier Series 259
ferring to Fig. 12.5(a), we see that the dc value is 0.5 for both the FS and
the DFT. The dc value is not affected due to aliasing since the waveform
consists of no other cosine component. However, the magnitude of the har-
monic with k = 1 is \ for the FS and 0.5 for the DFT. This discrepancy
is due to the aliasing effect. With four time-domain samples, we can only
represent frequency components with indices one and two, in addition to
dc value. Therefore, all the odd frequency components, in the case of the
DFT, fold back on to that of the fundamental harmonic and we get
The value of the summation can be obtained from Eq. (12.4) by substituting
t = 0.25.
-, 1 2„ 1 1 1
^S
+
^-a
+
s-^-)
Therefore, we get X
s
(l) = 0.5. In Fig. 12.5(b), we have doubled the num-
ber of samples. Therefore, the aliasing effect is reduced. For example,
the frequency component with k = 3 and magnitude ^ folds back on the
frequency component with k = 1 in Fig. 12.5(a). In Fig. 12.5(b), that
frequency component has its independent representation. Frequency com-
ponent with ifc = 1 is mixed up with frequency components starting with
k = 7, whose magnitudes are ^ or smaller, and, therefore, the value com-
puted by the DFT with k = 1 becomes more accurate. The approximation
becomes much better in Fig. 12.5(c) with more number of samples. In a
practical application, sufficient number of samples must be used to satisfy
the accuracy requirements.
Figure 12.6 shows parts of the reconstructed waveforms, using the DFT
coefficients shown in Fig. 12.5. Remember that the magnitudes of the even
f
N
=* \
0
,
5
r
N=a
\
0
,
5
f "-is
0 0.5 0 0.5 0 0.5
i t t
(a) (b) (c)
Fig. 12.6 (a), (b), and (c): Parts of the reconstructed square waveforms using frequency
coefficients shown in Figs. 12.5(a), (b), and (c), respectively.