Professional Documents
Culture Documents
1
Hence, h[n] is 0 for n < 0, 1 for even nonnegative n and −1 for odd
nonnegative n, i.e.,
1 if n even and n ≥ 0
h[n] = −1 if n odd and n ≥ 0 (4)
0 if n < 0.
2
y[1] = −y[0] + u[1] = −1 + 1 = 0
y[2] = −y[1] + u[2] = −0 + 1 = 1
..
. (7)
In general, y[n] is 0 for n < 0, 1 for even nonnegative n and 0 for
odd nonnegative n, i.e.,
1 if n even and n ≥ 0
y[n] = 0 if n odd and n ≥ 0 (8)
0 if n < 0.
3. (a) The input x[n] is the number of extra chicken (the part not de-
pendent on y) added in the nth month, i.e., the chicken given to
Mr. Goose by his brother in the nth month. Hence, x[n] = 10u[n].
The output y[n] is the number of chicken in the nth month.
3
1
0.9
0.8
0.7
0.6
0.5
y[n]
0.4
0.3
0.2
0.1
0
−10 −8 −6 −4 −2 0 2 4 6 8 10
n
(c) To check stability, we need to look at the poles of the system which
4
can be found from
Y (z) 1
H(z) = = . (13)
X(z) 1 − (1 + 0.5r)z −1 + z −2
z 2 − (1 + 0.5r)z + 1 = 0, (14)
it can be shown that one of the roots always lies out of the unit
circle for any r. This can also be seen more easily by noting that
given any quadratic equation
z 2 − az + b = 0, (15)
the sum of the roots is a and the product of the roots is b. In this
case, from (14), we find that the product of the roots of (14) must
be 1. Hence, it is impossible for both the roots to lie inside the unit
circle (because given any two complex numbers with magnitudes
less than 1, their product has to be less than 1). Therefore, the
system is not BIBO stable for any r.