Rectifying a sinusoidal provides a way to create a dc source. In this problem we consider the Fourier series of the full wave and half wave rectified signals. The half wave rectified signal xf(t) has a period T0 = 1 and its period from 0 to 1is:
x (t) = sin (πt) 0≤ t ≤ 1
While the period for the half wave rectifier signal x h (t) is:
x 2 (t) =(sin(πt) for 0≤t≤1 and 0 for 1
a.) Obtain the Fourier coefficients for both of these periodic signals.
b.) Use the even and odd decomposition of x h (t) to obtain its Fourier coefficients. This computation of the Fourier coefficients of x h (t) avoids some difficulties when you attempt to plot its magnitude line spectrum. Use MATLAB and your analytic results here to plot the magnitude line spectrum of the half wave signal and use the dc and 40 harmonics to obtain an approximation of the half wave signal.