Digital Signal Processing Reference
In-Depth Information
We can verify the total response by filtering (say) 50 samples of the impulse response corresponding
to the single pole filter having its pole at -0.85, and 50 samples of a complex exponential at radian frequency
π/ 6. The following code results in Fig. 2.11:
n = [0:1:49];y=exp(j*(pi/6)).ˆn;
ans = filter(1,[1,0.85],y);
figure(8); subplot(211); stem(n,real(ans));
subplot(212); stem(n,imag(ans))
1
0
−1
0
10
20
30
40
50
(a) Sample Index
1
0
−1
0
10
20
30
40
50
(b) Sample Index
Figure 2.11: (a) Real part of complete response of an IIR having a single pole at -0.85, used to filter 50
samples of a complex exponential having radian frequency π/ 6; (b) Imaginary part of same.
 
Search WWH ::




Custom Search