You are on page 1of 3

EE 261 Fourier Transform and Applications Homework #1 Due Friday, January 20 1. The sawtooth signal.

Consider the sawtooth signal sketched below.


1

January 13, 2012 Handout #2

-2

-1

a. Find the Fourier series for the sawtooth signal. b. Using part (a) show that
n=1

2 1 = , n2 6

one of the most famous identities in mathematics! c. Using Matlab, plot the nite Fourier series
N

cn e2int
n=N

for the sawtooth signal with N = 3, 5, and 15. Compare to the original sawtooth signal. What do you think happens to the nite Fourier series of the sawtooth signal as N ? Will we have a Gibbs like phenomenon with the sawtooth signal? 2. Creating periodic functions. Let f (t) be a function dened for all t, and let T > 0. Without regard to convergence, dene

g(t) =
n=

f (t nT ) .

a. Show that g(t) is periodic with period T . Sometimes g(t) is called the periodization of f (t) . b. Let (t) be the triangle function dened by (t) = 1 2|t| |t| 0
1 2

otherwise

Sketch the periodizations g(t) of (t) for T = 1/2, 3/4, 1, 2 . c. If f (t) is already periodic, is it equal to its own periodization? Explain. 3. Generalizing Rayleighs identity. What is Rayleighs identity for periodic functions of period T .

Page 2 of 3

EE 261, Winter 2012

4. Fourier series for triangles. Find the Fourier coecients of the signals f (t) and g(t) shown below; assume period 1 for each. (Hint: it should be sucient to do the calculation for just one of the signals.) a. f (t).
f (t) 1

1/2 b. g(t).

0 g(t) 1

1/2 t

1/2

0 h(t) 1

1/2 t

c. Find the Fourier series for the signal h(t) shown below. Again assume period 1.

1/2

1/2 t

5. Introduction to Matlab. Construct a plot in Matlab that contains two subplots, one over the other. The top plot should be of Re(ei4t ) for t ranging from 0 to 1. The bottom plot should be of Im(ei4t ) for t ranging from 0 to 1. Both the horizontal and vertical axes of each plot should be labeled, and there should be a title for the entire plot. Provide two implementations of your code: rst, in vector form; second, in loop form. Turn in both the plot and the Matlab code you used to produce the plot. Hint: doc suplot. (The point of this question is to get you going with Matlab if you have not used it before. You should use this problem as an opportunity to familiarize yourself with basic Matlab command structure and display options so that we can start using it for far more interesting problems.)

Homework #1

Page 3 of 3

6. Dierent forms of Fourier series. The three standard ways of writing Fourier series for functions of period 1 are the following: a0 + an cos(2nt) + bn sin(2nt) , 2 n=1

cn e
n=

2int

, A0 +
n=1

An sin(2nt + n )

How do you go from one form to the other, i.e., how are the various parameters related? a. Express an , bn in terms of cn , cn and vice versa. b. Express an , bn in terms of An , n and vice versa. c. Express cn , cn in terms of An , n and vice versa. 7. Identities for inner products and norms. Using the algebraic properties of complex-valued inner products, prove the following identities. a. f + g 2 + f g 2 = 2 f 2 + 2 g 2. What does this mean geometrically for the usual inner product and vectors in R2 ? b. f ig
2

= f

2 Im(f, g) + g 2 .

c. 4(f, g) = ( f + g 2 f g 2) + i ( f + ig 2 f ig 2 ) (This is sometimes called the polarization identity. It says that the norm determines the inner product.)

You might also like