Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Systems
Week 02 Lecture 03
CoE 121: Introduction to Digital Signal Processing
• Discrete-Time Signals
• Discrete-Time Systems
– Easy to design
– Example
• Amplifier: y[n] = Kx[n]
• Delay: y[n] = x[n – m]
x [ n ] = ∑ ck xk [ n ]
k
y [ n ] = ∑ ck yk [ n ]
k
xk [ n ] = δ [ n − k ]
∞
x [n] = ∑ x [n]δ [n − k ]
k=−∞
⎧⎪
0.8n , if n ≥ 0
x [n] = ⎨
1 x[n] ⎪⎩ 0, otherwise
–1 0 1 2 3 4 5 6 7 n
δ[n – 3] 1
–1 0 1 2 3 4 5 6 7 n
⎧⎪
0.8n , if n ≥ 0
x [n] = ⎨
1 x[n] ⎪⎩ 0, otherwise
–1 0 1 2 3 4 5 6 7 n
x[3]δ[n – 3]
–1 0 1 2 3 4 5 6 7 n
T
δ [n] → h [n]
T
δ [n − k ] → h [n − k ]
T
αδ [ n − k ] →α h [ n − k ]
T
x [k ]δ [n − k ] → x [k ] h [n − k ]
∞ T ∞
∑ x [k ]δ [n − k ] → ∑ x [k ] h [n − k ]
k=−∞ k=−∞
T
x [n] → y [n]
h [ n ] = {1, 2, 1, −1}
↑
x [ n ] = {1, 2, 3, 1}
↑
Week 02 Lecture 03: Discrete-Time Signals and Systems
CoE 121: Introduction to Digital Signal Processing 12
Example
2
h[n]
1 1 ∞
–1 y [n] = ∑ x [k ] h [n − k ]
k=−∞
∞
-1 0 1 2 3 n
= ∑ h [k ] x [n − k ]
k=−∞
x[n] 2
FLIP
1 1
SHIFT
MULTIPLY
ADD
-1 0 1 2 3 n
2
h[k]
1 1
–1
-1 0 1 2 3 k
x[–k] 2 Flipped
version
1 1
-3 -2 -1 0 1 k
2
h[k]
1 1
–1
x[–2–k] 2 ∞
1 1
y [−2 ] = ∑ h [k ] x [−2 − k ]
k=−∞
=0
-5 -4 -3 -2 -1 k
2
h[k]
1 1
–1
∞
-1 0 1 2 3 k
y [−1] = ∑ h [k ] x [−1− k ]
k=−∞
3 = ( 0 ) (1) + ( 0 ) (3) + ( 0 ) ( 2 )
-4 -3 -2 -1 0 k
2
h[k]
1 1
–1
∞
-1 0 1 2 3 k y [0] = ∑ h [k ] x [−k ]
k=−∞
3
= ( 0 ) (1) + ( 0 ) (3) + (1) ( 2 )
x[–k] 2
+ ( 2 ) (1) + (1) ( 0 ) + (−1) ( 0 )
1 1
=4
-3 -2 -1 0 1 k
2
h[k]
1 1
–1
∞
-1 0 1 2 3 k y [1] = ∑ h [k ] x [1− k ]
k=−∞
3
= ( 0 ) (1) + (1) (3) + ( 2 ) ( 2 )
x[1–k] 2
+ (1) (1) + (−1) ( 0 )
1 1
=8
-2 -1 0 1 2 k
2
h[k]
1 1
–1
∞
-1 0 1 2 3 k y [2] = ∑ h [k ] x [2 − k ]
k=−∞
3
= (1) (1) + ( 2 ) (3) + (1) ( 2 )
x[2–k] 2
+ (−1) (1)
1 1
=8
-1 0 1 2 3 k
2
h[k]
1 1
–1
∞
-1 0 1 2 3 k y [3] = ∑ h [k ] x [3− k ]
k=−∞
3
= (1) ( 0 ) + ( 2 ) (1) + (1) (3)
x[3–k] 2
+ (−1) ( 2 ) + ( 0 ) (1)
1 1
=3
0 1 2 3 4 k
2
h[k]
1 1
–1
∞
-1 0 1 2 3 k y [ 4] = ∑ h [k ] x [ 4 − k ]
k=−∞
3
= (1) ( 0 ) + ( 2 ) ( 0 ) + (1) (1)
x[4–k] 2
+ (−1) (3) + ( 0 ) ( 2 ) + ( 0 ) (1)
1 1
= −2
1 2 3 4 5 k
2
h[k]
1 1
–1
∞
-1 0 1 2 3 k
y [ 5] = ∑ h [k ] x [5 − k ]
k=−∞
3 = (1) ( 0 ) + ( 2 ) ( 0 ) + (1) ( 0 )
2 3 4 5 6 k
2
h[k]
1 1
–1
x[6–k] 2 y [6] = ∑ h [k ] x [6 − k ]
1 1 k=−∞
=0
3 4 5 6 7 k
y [ n ] = {0, 1, 4, 8, 8, 3, − 2, −1, 0}
↑
y[n] 8 8
4 3
1
–2 –1
–1 0 1 2 3 4 5 6 7 n
h [ n ] = {1, 1, 0} x [ n ] = {0, 0, 1, 1, 1, 1}
↑ ↑
• Distributive Law
x [ n ] ∗ "#h1 [ n ] + h2 [ n ]$% = x [ n ] ∗ h1 [ n ] + x [ n ] ∗ h2 [ n ]
∞
y [n] = ∑ h [k ] x [n − k ]
k=−∞
−1 ∞
= ∑ h [k ] x [n − k ] + ∑ h [k ] x [n − k ]
k=−∞ k=0
∞
= ∑ h [k ] x [n − k ]
k=0
∞
y [n] = ∑ h [k ] x [n − k ]
k=−∞
∞
y [n] = ∑ h [k ] x [n − k ] • The output is
k=−∞
∞
bounded if the
y [n] = ∑ h [k ] x [n − k ] impulse response is
k=−∞ absolutely
∞
summable
y [n] ≤ ∑ h [k ] x [n − k ]
k=−∞
∞
y [n] ≤ M x ∑ h [k ]
k=−∞