Friday, April 22, 2016

FIR Filter Design Using Frequency Sampling




The coding for this was done in SCILAB.The digital filter is designed  using frequency sampling method. For LPF and HPF filter Design we have taken 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.  I have plotted Magnitude Spectrum and Phase Spectrum and verified the value of Ap and As in pass band and stop band from the spectrum. From magnitude response it is clear that number of lobes increases with increase in order.To obtain the Magnitude and Phase plots. h[n] values of the signal and the magnitude and phase plot was obtained using SCILAB.


fir-fsm

4 comments:

  1. No of lobes in frequency response increased with increase in orde

    ReplyDelete
  2. for 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
    Replies
    1. This method is useful for the design of filters where the desired magnitude response can take any irregular shape

      Delete