EE 207(082) Project #1 For each of the following periodical functions with its Fourier Coefficients both in terms of the an and bn and in terms of the complex exponential Xn. Write a matlab program that will generate the periodical function using (1) The cosine and sine expansion (2) The complex exponential expansion. Generate a plot for the periodical wave for each expansion . Use a time sample from t=0 to 4 insteps of 0.01 Use t=[0:0.01:4] ; x1(t) 1 -3 -2 t (sec) -1 0 a0 1 2 an 0 1 2 3 Xn -1 jn 2 bn -1 n x2(t) 1 -2 -1 0 1 2 3 t (sec) -1 an 0 a0 0 2 jn X n 0 n odd n even 4 n bn 0 n odd n even x3(t) 2 1 -2 -1 0 1 2 3 -1 an 0 a0 1 2 2 jn X n 1 n n odd n even 4 n bn -2 n n odd n even