Professional Documents
Culture Documents
|n - rI],
=0
where I > P, and
x
|n] = ]
x|n + rI],
u
u n I - 1,
otheiwise,
For this problem, we define the unit step function as:
u|n] = ]
u,
1,
n < u
n u
(a) For b|n] = (u.9)
n
(u|n] -u|n - 1u]) and x|n] = cos(n
2
) sin(2nn S ), compute
y|n] = b|n] x|n] for u n 99 directly using conv. Make a plot of y|n] over this
range using stem.
(b) For I = Su, break the sequence x|n] into two sequences, each of length 50. Compute
y
0
|n] = b|n] x
0
|n], and y
1
|n] = b|n] x
1
|n], where x
0
|n] contains the first 50
samples of x|n] and x
1
|n] contains the second 50 samples of x|n]. The form of the
output y|n] is given by:
y|n] = b|n] x|n] = y
0
|n] + y
1
|n - k]
Determine the appropriate value of k to use, and note that y
0
|n] and y
1
|n] will both be of
length I + P - 1. When y
0
|n] and y
1
|n] are added together, there will generally be a
region where both are nonzero. It is for this reason that this method of block convolution
is called the overlap-add method. Compute y|n] in this manner, and plot y|n] over the
range u n 99. Is your result the same as what you found in Part (a)?