Allpass Example
Allpass Example
Problem Setup
0.5
0
0 0.5 1 1.5 2 2.5 3 3.5
0
phase response (rad)
−0.5
−1
−1.5
−2
0 0.5 1 1.5 2 2.5 3 3.5
1.5
group delay (samples)
0.5
0
0 0.5 1 1.5 2 2.5 3 3.5
normalized freq (rad/sample)
We will cascade a causal all-pass filter with the LPF to linearize the phase
response and equalize the group delay in the passband. We can do this in Matlab
with
1.5
0.5
Imaginary Part
−0.5
−1
−1.5
−2
1
0 0.5 1 1.5 2 2.5 3 3.5
0
phase response (rad)
−5
−10
−15
0 0.5 1 1.5 2 2.5 3 3.5
6
group delay (samples)
2
0 0.5 1 1.5 2 2.5 3 3.5
normalized freq (rad/sample)
0.5
0
0 0.5 1 1.5 2 2.5 3 3.5
0
phase response (rad)
−5
−10
−15
0 0.5 1 1.5 2 2.5 3 3.5
6
group delay (samples)
2
0 0.5 1 1.5 2 2.5 3 3.5
normalized freq (rad/sample)