Signals & Systems - Chapter 2: K N X K H
Signals & Systems - Chapter 2: K N X K H
Signals & Systems - Chapter 2: K N X K H
Solution:
a)
∞
Theory—We have y1[n] = x[n] * h[n] = ∑ h[k ]x[n − k ]
k = −∞
2 x[n] 2 2 h[n]
1
n n
0 1 2 3 4 -2 -1 0 1 2
-1
2S. Consider an input x[n] and a unit impulse response h[n] given by
1
x[n] = ( ) n− 2 u[n − 2]
2
h[n] = u[n + 2]
Determine and plot the output y[n] = x[n]*h[n].
Solution:
u[k-2] k
2
u[n+2-k]
k
n+2
1 − (1 / 2) n +1
y[n] = u[ n] = 2[1 – (1/2)n+1]u[n]
1 − 1/ 2
2U. Consider an input x[n] and a unit impulse response h[n] given by
1
x[n] = ( ) n−3 u[n + 2]
4
h[n] = 2u[n − 2]
Determine and plot the output y[n] = x[n]*h[n].
Solution:
h[n] = 1 for 4 ≤ n ≤ 15
0 otherwise
Solution:
x[n]
n
3 4 5 6 7 8
h[n]
n
4 5 6 7 8 9 10 15
∞
y[ n] = x[ n] * h[n] = ∑ x[k ]h[n − k ]
k = −∞
Let’s take the graphic path to find out the intervals of interest --- first need to plot h[n-k]
x[k]
k
3 8
h[n-k]
k
(n-15) (n-4)
Look for segment where the signal have the same amount of overlap
for 3 ≤ n-4 ≤ 8 or 7 ≤ n ≤ 12 y[n] = n -6 Partial front-end overlap
for 8 ≤ n-4 & n-15 ≤ 3 or 12 ≤ n ≤ 18 y[n] = 6 Full overlap
for 3 ≤ n-15 ≤ 8 or 18 ≤ n ≤ 23 y[n] = 24 - n Partial back-end overlap
otherwise y[n] = 0 or no overlap.
Solution:
4S. Compute and plot the convolution y[n] = x[n] * h[n], where
−n
1
x[ n] = u[ −n − 1] and h[ n] = u[ n − 1]
3
−k
∞
1 ∞
y[ n] = x[ n] * h[n] = ∑ x[ k ]h[ n − k ] = ∑ u[ −k − 1]u[ n − k − 1]
k = −∞ k = −∞ 3
u[-k-1] = 1 for –k-1 ≥0 k≤-1
0 otherwise
Condition 1 – when k≤-1 the summation is not 0 & the equation for y[n] can be writer as:
−k
−1
1
y[n ] = ∑ u[ n − k − 1]
k = −∞ 3
−k
n −1
1
y[n ] = ∑
k = −∞ 3
These equations can be further simplified by applying the Infinite Geometric Sum Series.
4U. Compute and plot the convolution y[n] = x[n] * h[n], where
−n
1
x[ n] = u[ n + 1] and h[ n] = u[ n − 5]
8
Solution:
5S. Compute the convolution y[n] = x[n] * h[n] of the following pairs of signals:
x[n] = α n u[n] 1
n n
x[n] = (− ) n u[n − 4]
a) h[n] = β u[n] b) x[ n] = h[ n] = α u[ n] c) 2
n
whenα ≠ β h[n] = 4 u[2 − n]
x[n] h[n]
1 1
n n
-1 0 1 2 3 4 5 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Hint: first draw x(t) and h(t). reflect h(t) about x=0 and then walk the signal to find the limits.
a)
∞
y [ n ] = x[ n ] * h[ n ] = ∑ x[ k ]h[ n − k ]
k = −∞
n
y[ n ] = ∑a
k =0
k
β n−k
for n ≥ 0
∞
y[ n ] = β n
∑ (a / β )
k =0
k
for n ≥ 0
n
1 − a n +1
or apply inifinit series ∑a
k =0
k
=
1− a
β −α n +1 n +1
y[ n ] = u[ n ] for α ≠ β
β −α
b)
Note, this part is the same as “part a” except for the fact that a=β
n
y[n] = α n ∑ (1) k u[n] = (n + 1)a n u[n]
k =0
c)
∞
y [ n ] = x [ n ] * h[ n ] = ∑ x[k ]h[n − k ]
k = −∞
∞ ∞
∞ 3
y[n ] = ∑ ( −1 / 2) k ( 4) n− k =( 4) n ∑ ( −1 / 8) k =(4) n ∑ ( −1 / 8) k − ∑ ( −1 / 8) k for n ≤ 6
k =4 k =4 k =0 k =0
∞ ∞
∞ n −1
y[n ] = ∑ ( −1 / 2) k ( 4) n− k =( 4) n ∑ ( −1 / 8) k =(4) n ∑ ( −1 / 8) k − ∑ ( −1 / 8) k for n > 6
k =n k =n k =0 k =0
n n +1 ∞
1− a 1
To Further Simplify apply inifinit series ∑ a = since a = −1 / 8 ⇒ ∑ a k =
k
k =0 1− a k =0 1− a
d)
x[n] h[n]
1 1
n n
-1 0 1 2 3 4 5 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
∞
y [ n ] = x[ n ] * h [ n ] = ∑ x [ k ]h[ n − k ]
k = −∞
1
n
0 1 2 3 4 5 6 7 8 9 11 13 15 17 19
5U. Compute the convolution y[n] = x[n] * h[n] of the following pairs of signals:
1
x[n] = ( ) n u[n + 2]
a) 3
h[n] = 8 n u[3 + n]
b)
x[n] h[n]
1 1
... ... ...
...
n n
-1 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
6S. For each of the following pairs of waveforms, use the convolution integral to find response y(t) of
the LTI system with impulse response h(t) and x(t). Sketch your results.
x(t ) = e −αt u (t )
a) (Do this both when α ≠ β and α = β .)
h(t ) = e − βt u (t )
x(t) h(t)
1 2
One period of sinπt
t t
1 2 1 2 3
-1/3
x(t) h(t)
1 1
t t
-3 -2 -1 1 2 3 1
-1
Hint: first draw x(t) and h(t). reflect h(t) about x=0 and then walk the signal to find the limits.
Solutions:
Therefore
t
y (t ) = e − βt ∫ e ( β −α )τ dτ u (t )
0
t
for α = β ⇒ y (t ) = e − βt ∫ dτ u (t 0 = te − βt u (t )
0
for α ≠ β ⇒ y (t ) =
e e ( β −α ) t − 1
− βt
[ ]
β −α
∫e
2 ( t −τ )
1 ≤ t < 3 → y (t ) = dτ
0
2 t −1
3 ≤ t ≤ 6 → y (t ) = ∫ e 2 ( t −τ ) dτ − ∫ e 2( t −τ ) dτ
0 2
Therefore
t < 1 → y (t ) = 0
t −1
1 1
1 ≤ t < 3 → y (t ) = e [ − e −2τ
2t
= − e 2t [e −2 ( t −1) − 1)
2 0 2
2 t −1
1 1 1 2t
for 3 ≤ t ≤ 6 y (t ) = e [ − e −2τ
2t
+ e − 2τ = e [ −( e −2 − 1) + ( e −2( t −1) − e − 2 )
2 0 2 2 2
t > 6 → y (t ) = 0
we have
First draw x(t) and h(-t) to find the number of unique overlap sections.
∞
y (t ) = ∫ x(τ )h(t −τ )dτ
−∞
−1 / 2 t
∫ (t − τ − 1)dτ − ∫ (t − τ − 1)dτ = −t
2
y (t ) = + t + 1/ 4 for − 1 / 2 < t < 1 / 2
t −1 −1 / 2
1/ 2 t
y (t ) = − ∫ (t − τ − 1)dτ + ∫ (t − τ − 1)dτ = t 2 − 3t + 7 / 4 for 1 / 2 < t < 3 / 2
t −1 1/ 2
6U. For each of the following pairs of waveforms, use the convolution integral to find response y(t) of
the LTI system with impulse response h(t) and x(t). Sketch your results.
x(t) h(t)
4
5 Slope = 4
t t
6 12
-4
Solutions:
x[k]
...
4
h[n-k]
...
n-1
x[n] = a n u[n − 4]
h[n] = b n u[n − 1]
∞
y[n] = x[n] * h[n] = ∑ x[k ]h[n − k ]
k = −∞
8S. The following are the impulse response of discrete-time LTI systems. Determine whether each
system is causal and/or stable. Justify your answers.
a) h[n] = (1/5)n u[n]
b) h[n] = (0.8)n u[n + 2]
c) h[n] = (1/2)n u[-n]
d) h[n] = (5)n u[3 – n]
e) h[n] = (-1/2)n u[n] + (1.01)n u[n – 1]
f) h[n] = (-1/2)n u[n] + (1.01)n u[1 – n]
g) h[n] = n (1/3)n u[n – 1]
Solution:
∞
Notes “System is causal if h[n]=0 for n<0 --- System is stable if ∑ | h[n ] |< ∞ ”
n = −∞
a) h[n] = (1/5)n u[n]
h[n]=0 for n<0 therefore system is causal
∑ (1/2)
n = −∞
n
= ∞ therefore the System is not stable
g) n (1/3)n u[n – 1]
h[n]=0 for n<0 therefore system is causal
∞
1
∑ n(1/3)
n =1
n
=
1 − (1 / 3)
= 3 / 4 = 0.75 < ∞ therefore the System is stable
8U. The following are the impulse response of discrete-time LTI systems. Determine whether each
system is causal and/or stable. Justify your answers.
a) h[n] = (1/5)n u[-n]
b) h[n] = (0.8)n u[n - 2]
c) h[n] = (1/2)n u[n]
d) h[n] = (5)n u[3 + n]
e) h[n] = n (1/3)n u[n + 1]
Solution:
9S. The following are the impulse responses of continuous-time LTI systems. Determine whether each
system is causal and/or stable. Justify your answers.
∫| e
−4t
| dt = −1 / 4(e −∞ − e −8 ) = 1 / 4(e −8 ) < ∞ therefore System is stable
2
b) h(t) = e -6t u(3 – t)
h(t)≠0 for t<0 therefore System is not causal
3
∫| e
−6t
| dt = 1 / 6(e −18 − e ∞ ) = ∞ therefore System is unstable
−∞
∫| e
− 2t
| dt = −1 / 2(e −∞ − e100 ) = 1 / 2e100 < ∞ therefore System is stable
−50
d) h(t) = e 2t u(–1 – t)
h(t)≠0 for t<0 therefore System is not causal
−1
−∞
e) h(t) = e -6|t|
h(t) ≠0 for t<0 therefore System is not causal
∞
2∫ | e −6|t| | dt = −1 / 3(e −∞ − e 0 ) = 1 / 3 < ∞ therefore System is stable
0
f) h(t) = t e –t u(t)
h(t) =0 for t<0 therefore System is causal
∞
∫ | te
−t
| dt = 1 < ∞ therefore System is stable (Use integral by part to solve)
0
∫ | (2 e
-t (t -1000)/100
-e ) | dt = ∞ therefore System is unstable
0
9U. The following are the impulse responses of continuous-time LTI systems. Determine whether each
system is causal and/or stable. Justify your answers.
Solution:
Solution:
h[n] = (-1/2)n u[n] + (1.01)n u[n – 1]
∞
Notes “System is causal if h[n]=0 for n<0 --- System is stable if ∑ | h[n] |< ∞ ”
n=∞
h[n]=0 for n<0 therefore system is causal
∞ ∞
1
∑
n =0
| (-1/2) n
| + ∑
n =1
(1.01) n =
1 − (1 / 2)
+ ∞ = ∞ therefore the System is not stable
10U. h[n] = (-1/8)n u[n + 1] + (1.21)n u[n] is the impulse of response of a system. Determine if the system is
Causal and/or Stable
Solution: