h26005 s 00054/00003/00200 d D 1.13 24/10/24 12:51:55 bevans 13 12 c Updated e s 00003/00000/00200 d D 1.12 23/11/02 13:06:04 bevans 12 11 c Up e s 00015/00072/00185 d D 1.11 23/11/01 15:04:09 bevans 11 10 c Updated e s 00032/00000/00225 d D 1.10 21/11/12 07:27:27 bevans 10 9 c Updated e s 00017/00004/00208 d D 1.9 21/11/11 13:33:26 bevans 9 8 c Updated e s 00001/00001/00211 d D 1.8 21/11/11 10:46:12 bevans 8 7 c Updated e s 00035/00000/00177 d D 1.7 21/11/11 10:35:18 bevans 7 6 c Updated e s 00003/00000/00174 d D 1.6 21/11/10 23:17:47 bevans 6 5 c Updted e s 00001/00001/00173 d D 1.5 21/11/10 22:13:00 bevans 5 4 c Updated e s 00034/00022/00140 d D 1.4 21/11/10 17:41:44 bevans 4 3 c Updated e s 00025/00000/00137 d D 1.3 21/11/10 16:53:24 bevans 3 2 c Updated e s 00021/00011/00116 d D 1.2 21/11/10 16:45:40 bevans 2 1 c Updated e s 00127/00000/00000 d D 1.1 21/11/09 21:27:33 bevans 1 0 c date and time created 21/11/09 21:27:33 by bevans e u U f i f e 0 t T I 1
D 2
In homework problem 6.3(a), a linear time-invariant (LTI) system with input signal x[n] and output signal y[n] is described by
y[n] = x[n] + x[n - 1] for n ≥ 0
As a necessary condition for LTI properties to hold, the LTI system must be at rest. This means that the initial condition x[-1] = 0.
The LTI system is a version of the two-point averaging filter in which the coefficients of 1/2 and 1/2 have been scaled by 2.
h[n] = d[n] + d[n - 1] for n ≥ 0
oo -n 1 -n -1
H(z) = Sum h[n] z = Sum h[n] z = h[0] + h[1] z
n = -oo n=0
-1
H(z) = 1 + z
Zero is at z + 1 = 0 or z = -1.
Pole is at z = 0.
h = [1 1]; zplane(h);Note that zplane has the same syntax as freqz.
Homework problems 6.3(b) and 6.3(c) are very similar.
E 12
oo Nh-1
y[n] = h[n] * x[n] = Sum h[k] x[n-k] = Sum h[k] x[n-k]
k=-oo k=0
D 2
where "oo" means infinity and Nh is the length of x[n] in samples.
E 2
I 2
where "oo" means infinity and Nh is the length of x[n] in samples.
E 2
Since the LTI system has a finite impulse response from n = 0 to n = Nh - 1,
D 2
we can compute the summation for k = 0 to k = Nh - 1:
E 2
I 2
we can compute the summation for k = 0 to k = Nh - 1:
E 2
y[n] = h[0] x[n] + h[1] x[n-1] + h[2] x[n-2] + ... + h[Nh - 1] x[n - (Nh - 1)]We can substitute the values for h[n] = 1 for n = 0, 1, ..., Nh - 1,
y[n] = x[n] + x[n-1] + x[n-2] + ... + x[n - (Nh - 1)]
y[0] = x[0] + x[-1] + x[-2] + ... + x[-(Nh - 1)]The initial conditions are x[-1], x[-2], ..., x[-(Nh - 1)]. They must be set to zero as necessary conditions for LTI system properties to hold.
In discrete time, the convolution of two finite-length signals h[n] and x[n] produces a result that is as long as the sum of the lengths of h[n] and x[n] minus one.
The convolution of two rectangular pulses of equal length will produce a triangle whose width is the twice the width of the rectangular pulse minus one. For more information, please see Handout E Convolving Two Rectangular Pulses.
The convolution of two rectangular pulses of different lengths will produce a trapezoid whose duration is the sum of the durations of the two pulses minus one. The trapezoid corresponds to the five cases of convolving two finite-length signals when flipping-and-sliding one signal across the other: no overlap, partial overlap, complete overlap, partial overlap, and no overlap. The plateau of the trapezoid corresponds to the complete overlap case.
Using the following relationships might be helpful in this problem:
Nmin = min(Nh, Nx)
Nmax = max(Nh, Nx)
conv command in MATLAB.
D 13
D 2 y[n] = 0.9 y[n - 1] + x[n] E 2 I 2 y[n] = 0.9 y[n - 1] + 0.1 x[n] E 2
for n ≥ 0. We can find the initial values by computing the first output values:
D 2
y[0] = 0.9 y[-1] + x[0]
y[1] = 0.9 y[0] + x[1]
E 2
I 2
y[0] = 0.9 y[-1] + 0.1 x[0]
y[1] = 0.9 y[0] + 0.1 x[1]
E 2
No initial conditions have arisen other than y[-1].
D 2 h[n] = 0.9 h[n - 1] + d[n] E 2 I 2 h[n] = 0.9 h[n - 1] + 0.1 d[n] E 2
D 2 for n ≥ 0. We could compute output values manually and infer the impulse response, or use the z-transform. E 2 I 2 for n ≥ 0. We could compute output values manually and infer the impulse response as we did in LTI Example #2 on Lecture Slide 11-4, or use the z-transform. E 2
E 4 In the z-domain, Y(z) = H(z) X(z). D 4 The z-transform of a signal bn u[n] is 1 / (1 - b z-1) for |z| > |b|. E 4 I 4 The z-transform of x[n] = bn u[n] is X(z) = 1 / (1 - b z-1) for |z| > |b|. E 4 That is, the region of convergence is |z| > |b|. I 3
I 4 For Y(z), the valid values of z must be those that are valid for H(z) and X(z). Hence, the region of convergence for Y(z) is the intersection of the regions of convergence for H(z) and X(z): E 4
D 4
2
C C z
Y(z) = ----------------------- = ---------------
-1 -1
(1 - a z ) (1 - b z ) (z - a) (z - b)
E 4
I 4
C
Y(z) = ----------------------- for |z| > max{ |a|, |b| }
-1 -1
(1 - a z ) (1 - b z )
E 4
D 4
We can compute the inverse z-transform by rewriting the expression
as a sum of first-order denominators:
E 4
I 4
We can use partial fractions decomposition to express the
transfer function as a sum of two first-order terms and then
apply the inverse z-transform to each term.
See Example 8-10 on page 219.
D 5
D 4
2
C z A0 A1
Y(z) = --------------- = ----- + -----
(z - a) (z - b) z - a z - b
E 4
I 4
z - z0
H(z) = C ------ for |z| > |p0|
z - p0
E 4
D 4
We put the sum of the two first-order terms under a common denominator
to solve for A0 and A1:
2
C z A0 A1 (A0 + A1) z - (A0 b + A1 a)
Y(z) = --------------- = ----- + ----- = ---------------------------
(z - a) (z - b) z - a z - b (z - a) (z - b)
E 4
I 4
D 9
where C is a constant.
E 9
I 9
where C is a non-zero constant.
E 9
I 6
E 6
bevans@ece.utexas.edu
E 1