Writting the code on C was not that tough but implementing the same in scilab was not a cake walk.But finally it was implemented .In this experiment,we used Hanning window for LPF and HPF filter Design ,by taking Pass band Attenuation (Ap), Stop band Attenuation (As), Pass band Frequency (Fp) in Hz, Stop band Frequency (Fs) in Hz, Sampling Frequency in Hz as an input. we plotted magnitude spectrum and phase spectrum and verified the value of Ap and As in pass band and stop band from the magnitude spectrum.
winspec
A window function is basically used to resolve noise and harmonic components in frequency spectrum.
ReplyDeleteright,various window functions can be used to analyse frequency spectrum.
DeleteBlackman is the best window function as it has the highest value of As.
ReplyDeleteyes,other window function can also be used depending on the attenuation in stopband and passband
DeleteRectangular Window Function is least prefered due to its low value of As
ReplyDelete