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.
Apt description! Thanks for sharing the source codes!
ReplyDeletewhich window function is better?
ReplyDeletewhich window function is better?
ReplyDeleteTry making a provision for the user to select the window function. That will make the program more user friendly!!!
ReplyDeleteAye captain...!!
DeleteAwesome that you could implement BSF/BPF in one program o_O
ReplyDeleteHaha!! 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
DeleteThe window function should be selected according the requirements of As.
ReplyDeleteYes the window function is selected on the basis of required stop band attenuation
Delete