The user had to input values like Attenuation in Stop band (As) and Pass band (Ap) as well as Pass band frequency, Stop band frequency and sampling frequency.The window function is required to truncate infinite samples of hd(n). Different window functions are Rectangular, Bartlett, Hanning, Hamming and Blackman with Blackman having the largest As and rectangular the least. Window method is widely used because different window functions can be used for different specifications of filter design A high pass filter and a bandpass filter was designed.The phase plot being linear there will be no distortion at the output.Thus it seen that with increasing As the accuracy increases
FIR implementation is basically trying to perform convolution of the input samples with the stored samples of the sinc (filter taps) function.
ReplyDeleteSelection of appropriate window depends in the value of As
ReplyDeleteA window function is required to truncate infinite samples of hd(n).'
ReplyDeleteWindow function is decided on the basis of As value
ReplyDeleteHanning window provides stop band attenuation of 44db where as Blackman window provides highest attenuation of 74db
ReplyDelete