The aim of the experiment was to design digital filter using windowing method and study the spectrum. The input parameters were passband attenuation(Ap), stopband attenuation(As), passband frequency(Fp), stopband frequency(Fs) and sampling frequency(F). The magnitude and phase spectrum for LPF and BPF using Hanning window were plotted.
The observed and calculated values of Ap and As were compared. Thus, the values were verified. The phase spectrum was observed to be linear.
Due to its linear phase there was no distortion in the output.
ReplyDeleteThere are side lobes present in frequency response due to discontinuity in the window function.
ReplyDeleteDifferent types of window functions have different values of stopband attenuation.
ReplyDeleteHanning window gives a response
ReplyDeleteAs we go from rectangular window function to hanning window, we get smoother response which reduces Gibbs phenomenon.
ReplyDeleteAnd the desired attenuation decides the window function that is to be selected
ReplyDeleteblackman has highest stopband attenuation
ReplyDeleteWhile solving numericals rectangular window function saves a lot of time
ReplyDelete