The objective of this experiment was to design a digital filter for the given input specifications using frequency sampling method. In this method the desired frequency response Hd(w) is sampled at w=2*pi*k/N ( where N = length of the signal) The frequency samples are thus obtained are taken as DFT coefficients H[k]. FIR filter response is found by taken IDFT of H[k]. Manitude and phase spectrum were plotted for this. Pass band and stop band attenuation values were verified.
https://drive.google.com/open?id=0B8Ks3rz0S_nzVE1ZRlItVFl4Qlk
https://drive.google.com/open?id=0B8Ks3rz0S_nzVE1ZRlItVFl4Qlk
Since the phase is linear, no distortion is observed in output signal.
ReplyDeletepoles lie inside the unit circle?
ReplyDeleteThe phase plot is linear and similar for both LPF and HPF if order of the two filters is same. Since phase is linear, output is not distorted.
ReplyDeleteor the same values of attenuation in stop band and pass band, pass band and stop band frequencies and sampling frequencies we observe that the order of the FIR filter is much higher compared to that of the IIR filter.
ReplyDelete