Vous êtes sur la page 1sur 2

Digital Signal Processing: Assignment No.

1. The impulse response of an LTI system is given by h[n] = n(u[n] u[n 8]). Determine the
output of the system for the input sequence x[n] = u[n 1] u[n 12]
2. A discrete time system is defined by the following dierence equation:
y[n] = 1.15y[n 1] 1.5y[n 2] + 0.7y[n 3] 0.25y[n 4] + 0.18x[n] + 0.1x[n
2] + 0.1x[n 3] + 0.18x[n 4]
with zero initial conditions.

1] + 0.3x[n

(a) Compute and plot the impulse response h[n], 0 n 100 using the function h=impz(b, a, N).

(b) Compute and plot the output y[n], if x[n] = u[n], 0 n 100 using the function
y=filter(b, a, x).
(c) Compute and plot the output y[n], if x[n] = u[n], 0 n 100 using the function
y=conv(h,x).
(d) Compute and plot the output y[n], if x[n] = u[n], 0 n 100 using the function
y=filter(h, 1, x).
Compare and explain the obtained results.
3. Consider the finite duration sequences x[n] = u[n]
0 < M N.

u[n

N ] and h[n] = n(u[n]

u[n

M ]),

(a) Find an analytical expression for the sequence y[n] = h[n] x[n]

(b) Verify the result in (a) for N = 10 and M = 5 using function y = conv(h, x).
4. Find the z-transform of
(a) x[n] = an u[n] + bn u[n] + cn u[ n
2 n

(b) x[n] = n a u[n]

1], |a| < |b| < |c|

1
5. Given the z-transform pair x[n] $ X(z) = 1 2z
1 with ROC: |z| < 2, use the z-transform
properties to determine the z-transform of the following sequences:

(a) y[n] = x[n


(b) y[n] =

3]

( 13 )n x[n]

(c) y[n] = x[n] x[ n]

(d) y[n] = nx[n]


(e) y[n] = x[n

1] + x[n + 2]

(f) y[n] = x[n] x[n

2]

6. Generate and plot each of the following sequences over the indicated interval:
(a) x[n] = 2 (n + 2)
(b) x[n] = n(u[n]

(n

u[n

4),

5 n 5.

10]) + 10e

0.3(n 10)

(u[n

10]

u[n

20]), 0 n 20

(c) x[n] = cos(0.04n) + 0.2w(n), 0 n 50, where w[n] is a Gaussian random sequence
will zero mean and unit variance.
7. Generate the complex valued signal x[n] = e( 0.1+j0.3)n , 10 n 10 and plot its magnitude, phase, the real part, and the imaginary part in four separate subplots.
8. Let x[n] = u[n]

u[n

10]. Decompose x[n] into even and odd components.

9. Determine whether the following systems are linear:


(a) y[n] = 3x2 (n)
(b) y[n] = 2x[n

2] + 5

(c) y[n] = x[n + 1]

x[n

1]

10. Determine whether the following linear systems are time-invariant


(a) y[n] = 10 sin(0.1n)x[n]
(b) y[n] = x[n + 1]
(c) y[n] =

1
4 x[n]

x[1
1
2 x[n

n]
1] + 14 x[n

2]

11. Let the rectangular pulse x[n] = u[n] u[n 10] be an input to an LTI system with impulse
response h[n] = (0.9)n u[n]. Determine the output y[n].
j2!

1 e
12. Consider and LTI system with frequency response H(e( j!) = 1+
< ! .
1
j4! ,
2e
n
Determine the output y[n] for all n if the input x[n] for all n is x[n] = sin( 4 )

13. Consider the dierence equation y[n]

1
4 y[n

1]

1
8 y[n

2] = 3x[n].

(a) Determine the general form of the homogeneous solution to this dierence equation.
(b) Both a causal and an anticausal LTI systems are characterized by this dierence equation. Find the impulse response of the two systems.
(c) Show that the causal LTI system is stable and anticausal LTI system is unstable.
(d) Find a particular solution to the dierence equation when x[n] = (1/2)n u[n]
14. Consider the dierence equation representing a causal LTI system y[n] + (1/a)y[n
x[n 1],

1] =

(a) Fine the impulse response of the system, h[n], as a function of the constant a.
(b) For what range of values of a will the system be stable?
15. Given the dierence equation y[n]

y[n

1] + 0.9y[n

2] = x[n]; 8n

(a) Calculate and plot the impulse response h[n] at n =


(b) Calculate and plot the unit step response s[n] at n =

20, ...., 100.


20, ...., 100.

(c) Is the system specified by h[n] stable?


16. Determine the discrete-time Fourier transform of x[n] = (0.5)n u[n]. Evaluate X(ej! ) at 501
equispaced points between [0, ] and plot its magnitude, angle, real, and imaginary parts.
17. Let x[n] = (0.9)n , 10 n 10. Investigate the conjugate symmetry property of its
discrete-time Fourier transform.

Vous aimerez peut-être aussi