Vous êtes sur la page 1sur 4

1

2
3

Find the roots of the following two polynomials:


N1(z) = 1 0.7z1+0.1725z2 + 0.1745z3 0.4425z4
D1(z) = 1 + 0.8z10.8775z2 + 0.4333z3 0.1808z4 0.6639z-5
Plot the poles and zeros of the transfer function H1(z) = N1(z)/D1(z),
where N1(z) and D1(Z) are the polynomials given above.
Find the polynomials that have the zeros given below and also the product
of the two polynomials N2(z)D2(z):
Zeros of N2(z) : 0.2 0.3 + j0.4 0.3 j0.4 0.5
Zeros of D2(z) : 0.4 0.4 0.2 + j0.2 0.2 j0.2
Plot the poles and zeros of H2(z) = N2(z)/D2(z) in the z plane.
Find the values of R1,R2, and R3 in the expansion of the transfer function
G(z), using the MATLAB function residuez:

Find the values of K1,K2,K3,K4, K5 in the expansion of the following


transfer functions, using the MATLAB function residuez:

Plot the magnitude, phase, and group delay of the transfer function
H1(z1) given below:

Given H2(z) = (1 z1)/(1 0.9z1), plot the magnitude of H3(z) =H2(zej1.5)H2(zej1.5)


and the magnitude of H4(z) = H2(zej1.5) +H2(zej1.5).
Find the partial fraction expansion of the following two transfer functions
and evaluate their unit pulse response for 0 n 10:

INDEX
SP 109 DSP Lab - Cycle 2

An LTI-DT system is described by the following difference equation


y(n) + 3y(n 1) + 2y(n 2) + y(n 3) = x(n) + 3x(n 2)
where y(1) = 1, y(2) = 2, y(3) = 1, and x(n) = (0.5)nu(n). Find the total response
y(n) for 0 n 20 and plot y(n).

10

Find the pulse responses x1(n) of X1(z), h2(n) of H2(z), and y3(n) of
Y3(z) = X1(z)H2(z). Convolve the first 9 samples of x1(n) with the 9 samples of
h2(n) and compare the result with the first 9 samples of y3(n):

11

Plot the magnitude of the following transfer functions:

12

Plot the magnitude and phase responses of the following functions:

13

Evaluate the magnitude response of the transfer function H(z) at = 0.365 and at
= 0.635:

SP 109 DSP Lab - Cycle 2

14

From the real sequence x(n) = {1 1 2 0.5 0 1 2 1}, show that the DFT of
[ xe(n)] = ReX(k) where the even part xe(n) = [x(n) + x((n))N]/2.

15

Design an IIR filter with the following specifications, using the MATLAB
function yulewalk: F = [0.0 0.3 0.5 0.7 0.9 1.0]; D = [0.2
0.4 0.5 0.3 0.6 1.0]. Plot the magnitude of the filter.
16(a) Let x(n) be a sinusoidal sequence of frequency 0 and of finite length N, that is,

Choose N = 32 and 0 = /4, and plot XR() and XI() for [,].
Compute the 32-point DFT of x(n), and plot its real and imaginary samples.
Superimpose the above DTFT plots on the DFT plots. Comment on the
results.
Repeat the above two parts for N = 32 and 0 = 1.1/4.
16(b Let x(n) = cos (n/4), and assume that we have only 16 samples available for
)
processing.
Compute the 16-point DFT of these 16 samples, and plot their magnitudes.
Now compute the 32-point DFT of the sequence formed by appending the
above 16 samples with 16 zero-valued samples. This is called zero padding.
Now plot the magnitudes of the DFT samples.
Repeat above step for the 64-point sequence by padding 48 zero-valued
samples.
Explain the effect and hence the purpose of the zero padding operation on the
spectrum
17(a) Let x(n) = {1, 2, 3, 4, 3, 2, 1} and h(n) = {1, 0, 1}.
Determine the convolution y(n) = x(n) * h(n) using the matrix-vector
multiplication approach
Develop a Matlab function to implement the convolution using the Toeplitz
matrix. The form of the function should be y = convtoep(x,h).
Verify your function, using the given sequences.
17(b Let x(n) = (0.9)nu(n).
)
Determine x(n) * x(n) and plot its first 101 samples.
Truncate x(n) to the first 51 samples. Compute and plot the convolution
x(n) * x(n), using the conv function.
Assume that x(n) is the impulse response of an LTI system. Using the filter
function, compute and plot the first 101 samples of the convolution x(n)

SP 109 DSP Lab - Cycle 2

*x(n).
Which Matlab approach is best suited for infinite-length sequences and why?
18(a) Consider the following stable minimum-, maximum-, and mixed-phase systems
Hmin(z) = (1 0.25z1)(1 + 0.5z1)
Hmax(z) = (0.25 z1)(0.5 + z1)
Hmix(z) = (1 0.25z1)(0.5 + z1)
which have the same magnitude response. Compute and plot group delay responses.
Observe that the minimum-phase system has the minimum group delay.
18(b Consider the system function
)

Show that the system H(z) is not minimum-phase.


Construct a minimum-phase system Hmin(z) such that |Hmin(ej)| = |H(ej)|.
Is H(z) a maximum-phase system?

SP 109 DSP Lab - Cycle 2

Vous aimerez peut-être aussi