Prove the validity of the following formula, often referred to as the
finite sum formala:
For α ≠ 1, do the following:
expand the sum
multiply expansion by (1–α)/(1–α)
simplify the numerator
Use the finite sum formula to show:
Simply apply the finite sum formula and use the fact that ejπ = –1.
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.
Note the ak are periodic with period N, so, for example,
aN = 1. For simplicity, we'll just list the spectal coefficients
around 0.
x[n] = 5*cos(6πn + π) + 7*cos(3πn)
First determine the smallest N for which x[n] is periodic
and then rewrite the frequencies in the form k(2π/N) for some
k. If the resulting k is greater than N, you
can replace it with k mod N.
which is a sum of real numbers. If N is even, there will be one negative index in the equation,
n = -N/2, that won't be matched with a positive counterpart. But
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.
bk = (1/N)Σn=<N>w[n]e-jk(2π/N)n
= (1/N)Σn=<N>x[n-α]e-jk(2π/N)n
This time, let's run the indicies of the summation from α to
α+(N-1):
bk = (1/N)Σα ≤ n ≤ α+(N-1)x[n-α]e-jk(2π/N)n
= (1/N)Σ0 ≤ n ≤ (N-1)x[n]e-jk(2π/N)(n+α)
= (1/N)Σ0 ≤ n ≤ (N-1)x[n]e-jk(2π/N)ne-jk(2π/N)α
= e-jk(2π/N)α(1/N)Σ0 ≤ n ≤ (N-1)x[n]e-jk(2π/N)n
= ake-jk(2π/N)α
Problem 6.
Consider an LTI system characterized by the unit-sample response h[n].
Give an expression for the frequency response of the
system H(ejΩ) in terms of h[n].
H(ejΩ) = Σmh[m]e-jΩm.
If h[0]=1, h[1]=0, h[2]=1, and h[n]=0
for all other n, what is H(ejΩ)?
H(ejΩ) = 1 + e-2jΩ.
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 ≤ φ ≤ π?
H(ejΩ)=0 when φ = π/2.
Let h[n] be defined as in part B. Find the maximum
magnitude of y[n] if x[n] = cos(πn/4).
|H(ejπ/4)| = |1 + e-jπ/2| = |1 - j| = sqrt(2).
Let h[n] be defined as in part B. Find the maximum
magnitude of y[n] if x[n] = cos(-(π/2)n).
|H(ejπ/2)| = |1 + e-jπ| = |1 - 1| = 0.
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(ejΩ)|, |HB(ejΩ)|,
|HC(ejΩ})|,
and |HD(ejΩ)| 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
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 |α|?
Must be HB as that is the only frequency response that has
the same values at 0 and ±π and extremes at ±&pi/2.
|α|=2 as H1(ej0)=2 but
HB(ej0)=0.
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)?
Must be HA since
H1(ejΩ)H2(ejΩ) = H(ejΩ),
and therefore |H(ejΩ)|=0 whenever H1(ejΩ)=0
or H2(ejΩ)=0.
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(ejΩ)|,
|HB(ejΩ)|,
|HC(ejΩ)|,
respectively, as given in the plots below.
Which frequency response (A, B, or C) corresponds to the
following unit sample response, and what is
maxΩ|H(ejΩ)| for your
selected filter? Please justify your selection.
Plan of attack: evaluate |H(ejΩ)| at
several frequencies and see what we find.
The only plot with a frequency response of 0 at frequency 0 and something
non-zero at frequency π is the one for filter A.
Looking at the frequency response for A, it has its largest magnitude
at ±π, which we calculated above to be 6.
Which frequency response (A, B, or C) corresponds to the
following unit sample response, and is
maxΩ|H(ejΩ)| > 6 for your
selected filter? Please justify your answers.
The only plot with a frequency response of 0 at frequencies 0 and π
is the one for filter B.
The maximum magnitude of the frequency response is given by:
|H(ejΩ)| = |Σnh[n]e-jΩn| ≤ Σn|h[n]|(1) ≤ 6.
So, no, it's not bigger than 6.
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(ejΩ)| for your selected system?
The output reaches a steady state at y[n] = 6, with no changes in value after
that point. So sinusoidal components of x[n] must have been filtered out,
i.e., H(ejπ/3) = 0 and H(ejπ) = 0.
The only other component of x[n] is the constant 1, so that means that
H(ej0) = 6 since constant inputs have frequency 0.
The only plot that satisfies these conditions is C. From the plot
of C's frequency response, the maximum magnitude occurs at frequency
0 and has the value 6 as we calculated above.
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:
h1[n] = hA[n] + hB[n]. Filters A and B in parallel.
h2[n] = hA[n] + hC[n]. Filters A and C in parallel.
h3[n] = hB[n] + hD[n]. Filters B and C in parallel.
h4[n] = convolve(hA,hB). Filters A and B in series.
h5[n] = convolve(hA,hC). Filters A and C in series.
h6[n] = convolve(hB,hC). Filters B and C in series.
Which of the six new filters has the frequency response plotted below?
Only HC in non-zero at frequency 0 and only HA
is non-zero at frequency π. So plot must correspond to new filter
2, which is filters A and C in parallel.
Which of the six new filters from the previous question has the
frequency response plotted below?
Looking at the zeros in the plot above, the combination could have
only come from two filters in series. Comparing the size of the
response near frequency 0 with the response near frequency π, it
must be filter B in series with filter C, i.e., new filter 6.