Tuesday, 25 April 2017

FIR filter design using Frequency sampling

In this experiment, the various parameters like pass band attenuation, stop band attenuation, pass band frequency, stop band frequency and sampling frequency are passed as input and the order of the filter is calculated. First Hd(w) is calculated and then H(k) is calculated by sampling and then after that h(n) by IDFT. The final output h(n) is always symmetric about the point of symmetry i.e. N/2. Discontinuity is observed in phase plot when the spectrum goes out of range that is from -pi to +pi.

8 comments:

  1. Simplest method of filter design.

    ReplyDelete
  2. Replies
    1. The Frequency Sampling method for filter design uses the IDFT (Inverse Discrete Fourier Transform) of the desired frequency response for the filter coefficients, using the number of samples across the frequency response to be equal to the number of coefficients in the filter.

      Delete