Friday, April 22, 2016

window function



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

5 comments:

  1. A window function is basically used to resolve noise and harmonic components in frequency spectrum.

    ReplyDelete
    Replies
    1. right,various window functions can be used to analyse frequency spectrum.

      Delete
  2. Blackman is the best window function as it has the highest value of As.

    ReplyDelete
    Replies
    1. yes,other window function can also be used depending on the attenuation in stopband and passband

      Delete
  3. Rectangular Window Function is least prefered due to its low value of As

    ReplyDelete