Friday, 22 April 2016

EXP 7 - Design of FIR using Windowing method

In this experiment the filter was designed using code written in C language. The input specifications was taken from the user, There were 2 different codes for LPF/HPF and BSF/BPF. Specifications for one of each case taken and the filter was designed.
Different window functions were defined in the code and the function was selected during runtime based on the input specifications. After selection of window function h(n) was calculated. The magnitude and phase spectrum was then plotted in scilab using the obtained values of h(n). The phase spectrum of the filter for the filter was observed to be linear.

9 comments:

  1. Apt description! Thanks for sharing the source codes!

    ReplyDelete
  2. which window function is better?

    ReplyDelete
  3. which window function is better?

    ReplyDelete
  4. Try making a provision for the user to select the window function. That will make the program more user friendly!!!

    ReplyDelete
  5. Awesome that you could implement BSF/BPF in one program o_O

    ReplyDelete
    Replies
    1. Haha!! No sahil, you deserve credit for this.. it was your method that helped us create the algorithm for this code without which we were badly struggling

      Delete
  6. The window function should be selected according the requirements of As.

    ReplyDelete
    Replies
    1. Yes the window function is selected on the basis of required stop band attenuation

      Delete