6.02 Tutorial Problems: Frequency Domain & Filters


Problem 1.

Give an expression for the magnitude of a complex exponential with frequency φ, i.e., |e|. Hint: it's a numeric value independent of φ.


Problem 2.

  1. Prove the validity of the following formula, often referred to as the finite sum formala:

  2. Use the finite sum formula to show:


Problem 3.

Consider the following signals, which are periodic with period N. For each signal compute the spectral coefficients ak. In 6.02, we usually choose N consecutive k's starting with -N/2.

  1. x[n] = 1 + sin((2π/N)*n) + 3*cos((2π/N)*n) + cos(2*(2π/N)*n + π/2).

  2. x[n] = 5*cos(6πn + π) + 7*cos(3πn)

  3. x[n] is a square wave with period N=4 with the following values: x[0]=1, x[1]=1, x[2]=0, x[3]=0.

  4. x[n] = cos(2πn/3)*sin(2πn/9)

  5. x[n] has exactly one non-zero value per period, i.e., x[m] ≠ 0 for some m and 0 otherwise. Compute the magnitude of ak.


Problem 4.

If x[n] is real, even (i.e., x[n] = x[-n]) and periodic with period N, show that all the ak are real.


Problem 5.

Suppose you're given the spectral coefficients ak for a particular periodic sequence x[n]. Compute the spectral coefficients bk for w[n] = x[n-α], i.e., x time shifted by α samples, in terms of the ak.


Problem 6.

Consider an LTI system characterized by the unit-sample response h[n].

  1. Give an expression for the frequency response of the system H(e) in terms of h[n].

  2. If h[0]=1, h[1]=0, h[2]=1, and h[n]=0 for all other n, what is H(e)?

  3. Let h[n] be defined as in part B and x[n] = cos(φn). Is there a value of φ such that y[n]=0 for all n and 0 ≤ φ ≤ π?

  4. Let h[n] be defined as in part B. Find the maximum magnitude of y[n] if x[n] = cos(πn/4).

  5. Let h[n] be defined as in part B. Find the maximum magnitude of y[n] if x[n] = cos(-(π/2)n).


Problem 7.

In answering the questions below, please consider the unit sample response and frequency response of two filters, H1 and H2, plotted below.

Note: the only nonzero values of unit sample response for H1 are : h1[0] = 1, h1[1]=0, h1[2]=1.

Note, the only nonzero values of unit sample response for H2 are : h2[0] = 1, h2[1]=-sqrt(3), h2[2]=1.

In answering the several parts of this review question consider four linear time-invariant systems, denoted A, B, C, and D, each characterized by the magnitude of its frequency response, |HA(e)|, |HB(e)|, |HC(e})|, and |HD(e)| respectively, as given in the plots below. This is a review problem, not an actual exam question, so similar concepts are tested multiple times to give you practice

  1. Which frequency response (A, B, C or D) corresponds to a unit sample response given by

    h[n] = α δ[n] - h1[n]

    and what is the numerical value of |α|?

  2. Which frequency response (A, B, C or D) corresponds to a unit sample response given by

    h[n] = Σmh1[m]h2[n-m] for m = 0 to n

    and what are the numerical values of h[2], h[3] and H(ej0)?

  3. Which frequency response (A, B, C or D) corresponds to a unit sample response given by

    h[n] = α δ[n] - Σmh1[m]h2[n-m] for m = 0 to n

    and what is the numerical value of |α|?

  4. Which frequency response (A, B, C or D) corresponds to a unit sample response given by

    h[n] = α δ[n] - h2[n]

    and what is the numerical value of |α|?

  5. Suppose the input to each of the above four systems is

    x[n]=0 for n < 0 and
    x[n] = cos(nπ/6) + cos(nπ/2) + 1.0 for n ≥ 0

    Which system (A, B, C or D) produced an output, y[n] below, and what is the value of y[n] for n > 10?

  6. Suppose the input to each of the above four systems is

    x[n]=0 for n < 0 and
    x[n] = cos(nπ/6) + cos(nπ/2) + 1.0 for n ≥ 0

    Which system (H1 or H2) produced an output, y[n] below, and what is the value of y[22]?


Problem 8.

In answering the several parts of this question, consider three linear time-invariant filters, denoted A, B, and C, each characterized by the magnitude of their frequency responses, |HA(e)|, |HB(e)|, |HC(e)|, respectively, as given in the plots below.

  1. Which frequency response (A, B, or C) corresponds to the following unit sample response, and what is maxΩ |H(e)| for your selected filter? Please justify your selection.

  2. Which frequency response (A, B, or C) corresponds to the following unit sample response, and is maxΩ |H(e)| > 6 for your selected filter? Please justify your answers.

  3. Suppose the input to each of the above three filters is x[n] = 0 for n < 0 and for n ≥ 0 is

    x[n] = cos((π/3)n) + cos(πn) + 1.0

    Which filter (A, B,or C) produced the output, y[n] below, and what is maxΩ |H(e)| for your selected system?

  4. Six new filters were generated using the unit sample responses of filters A, B and C, denoted hA[n], hB[n], and hC[n] respectively. The unit sample responses of the new filters were gener- ated in the following way:

    Which of the six new filters has the frequency response plotted below?

    Which of the six new filters from the previous question has the frequency response plotted below?