4: Linear Time Invariant Systems
4: Linear Time Invariant Systems
4: Linear Time Invariant Systems
Systems
• LTI Systems
• Convolution Properties
• BIBO Stability
• Frequency Response
• Causality +
• Convolution Complexity
• Circular Convolution
• Frequency-domain
convolution
• Overlap Add
• Overlap Save
• Summary
4: Linear Time Invariant Systems
• MATLAB routines
Proof:
P∞
We can always write x[n] = r=−∞ x[r]δ[n − r]
Proof:
P∞
We can always write x[n] = r=−∞ x[r]δ[n − r]
P∞
Hence H (x[n]) = H r=−∞ x[r]δ[n − r]
Proof:
P∞
We can always write x[n] = r=−∞ x[r]δ[n − r]
P∞
Hence H (x[n]) = H r=−∞ x[r]δ[n − r]
= ∞
P
r=−∞ x[r]H (δ[n − r])
Proof:
P∞
We can always write x[n] = r=−∞ x[r]δ[n − r]
P∞
Hence H (x[n]) = H r=−∞ x[r]δ[n − r]
= ∞
P
r=−∞ x[r]H (δ[n − r])
= ∞
P
r=−∞ x[r]h[n − r]
Proof:
P∞
We can always write x[n] = r=−∞ x[r]δ[n − r]
P∞
Hence H (x[n]) = H r=−∞ x[r]δ[n − r]
= ∞
P
r=−∞ x[r]H (δ[n − r])
= ∞
P
r=−∞ x[r]h[n − r]
= x[n] ∗ h[n]
Distributive over +:
x[n] ∗ (αv[n] + βw[n]) = (x[n] ∗ αv[n]) + (x[n] ∗ βw[n])
Distributive over +:
x[n] ∗ (αv[n]
P + βw[n]) = (x[n] ∗ αv[n]) + (x[n] ∗ βw[n])
Proof: r x[n − r] (αv[r]
P + βw[r]) = P
α r x[n − r]v[r] + β r x[n − r]w[r]
Distributive over +:
x[n] ∗ (αv[n]
P + βw[n]) = (x[n] ∗ αv[n]) + (x[n] ∗ βw[n])
Proof: r x[n − r] (αv[r]
P + βw[r]) = P
α r x[n − r]v[r] + β r x[n − r]w[r]
Identity: x[n] ∗ δ[n] = x[n]
Distributive over +:
x[n] ∗ (αv[n]
P + βw[n]) = (x[n] ∗ αv[n]) + (x[n] ∗ βw[n])
Proof: r x[n − r] (αv[r]
P + βw[r]) = P
α r x[n − r]v[r] + β r x[n − r]w[r]
Identity: x[n] ∗ δ[n] = x[n]
P (i)
Proof: r δ[r]x[n − r] = x[n] (i) all terms zero except r = 0.
• Overlap Add
• Overlap Save
H(ejω ) = |1 + 2 cos ω| 1
• Summary 0
0 1 2 3
• MATLAB routines ω
• Overlap Add
• Overlap Save
H(ejω ) = |1 + 2 cos ω| 1
• Summary 0
0 1 2 3
• MATLAB routines ω
10
-5
-10
0 1 2 3
ω
• Overlap Add
• Overlap Save
H(ejω ) = |1 + 2 cos ω| 1
-5
-10
0 1 2 3
ω
• Overlap Add
• Overlap Save
H(ejω ) = |1 + 2 cos ω| 1
-5
-10
0 1 2 3
ω
-1
∠
-2
0 1 2 3
ω
• Overlap Add
• Overlap Save
H(ejω ) = |1 + 2 cos ω| 1
-5
(b) an abrupt phase change of ±π . -10
0 1 2 3
ω
-1
∠
-2
0 1 2 3
ω
• Overlap Add
• Overlap Save
H(ejω ) = |1 + 2 cos ω| 1
-5
(b) an abrupt phase change of ±π . -10
0 1 2 3
ω
d
Group delay is− dω ∠H(ejω ) : gives delay of the 1
-1
∠
-2
0 1 2 3
ω
• Overlap Add
• Overlap Save
H(ejω ) = |1 + 2 cos ω| 1
-5
(b) an abrupt phase change of ±π . -10
0 1 2 3
ω
d
Group delay is − dω ∠H(ejω ) : gives delay of the 1
∠
constant: in this case +1 samples. -2
0 1 2 3
ω
• Overlap Add
• Overlap Save
H(ejω ) = |1 + 2 cos ω| 1
-5
(b) an abrupt phase change of ±π . -10
0 1 2 3
ω
d
Group delay is − dω ∠H(ejω ) : gives delay of the 1
∠
constant: in this case +1 samples. -2
0 1 2 3
Discontinuities of ±kπ do not affect group delay. ω
N = 8, M = 3
M + N − 1 = 10
N = 8, M = 3
M + N − 1 = 10
We must multiply each h[n] by each x[n] and add them to a total
⇒ total arithmetic complexity (× or + operations) ≈ 2M N
DSP and Digital Filters (2017-10159) LTI Systems: 4 – 7 / 13
Circular Convolution
N = 8, M = 3
N = 8, M = 3
N = 8, M = 3
N = 8, M = 3
• Only the first M − 1 values are affected by the circular repetition:
N = 8, M = 3
• Only the first M − 1 values are affected by the circular repetition:
y⊛N [n] = y[n] for M − 1 ≤ n ≤ N − 1
N = 8, M = 3
• Only the first M − 1 values are affected by the circular repetition:
y⊛N [n] = y[n] for M − 1 ≤ n ≤ N − 1
• If we append M − 1 zeros (or more) onto x[n], then the circular
repetition has no effect at all and:
y⊛N +M −1 [n] = y[n] for 0 ≤ n ≤ N + M − 2
N = 8, M = 3
• Only the first M − 1 values are affected by the circular repetition:
y⊛N [n] = y[n] for M − 1 ≤ n ≤ N − 1
• If we append M − 1 zeros (or more) onto x[n], then the circular
repetition has no effect at all and:
y⊛N +M −1 [n] = y[n] for 0 ≤ n ≤ N + M − 2
Circular convolution is a necessary evil in exchange for using the DFT