2. a) Find the Fourier Series expansion for the signals x(t) given in Figure 1, theoretically.
b) Transfer the resulting Fourier Series in (a) into Matlab software.
c) Plot the signals in the time domain for 5, 10, and 20 harmonics.
d) Compare the signal both in the time domain and frequency domain. [The period, T, of the signal is given in Attachment 1].
x(t)
T
Figure 1