Assignment 1
Assignment 1
Assignment 1
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
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
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:
3]
( 13 )n x[n]
1] + x[n + 2]
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
2] + 5
x[n
1]
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 )
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
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: