The objective of this experiment was to design digital filter using windowing technique and study the spectrum of filter.
Algorithm for this exp is as follows:
Algorithm for this exp is as follows:
- from the given parameters find Hd(W)
- find hd(n) by using IDFT
- from the given window function calculate h(n)= hd(n) * w(n)
In this experiment it was required to design an FIR filter using the Windowing method. In this method, the desired impulse response is multiplied with window function w(n) to obtain h(n) which after Z-transfrom yields the transfer function H(z).
According to the value of As, the window function is selected. The desired impulse response is calculated depending on the filter type and it is multiplied element by element by the window function to obtain the output signal.
The magnitude and phase response is plotted by the cell2mag function. The phase response obtained for any h(n) is linear.
codes for this experiments are given below:
https://drive.google.com/open?id=0B-US8fsfaFQxMnJRY0lfdjhmcUk
Window functions are preferable because they allow different window functions
ReplyDeletewhich can be used as per the design specifications of filter
yes correct, we can choose the different window function depending on the attenuation in stopband and passband.
DeleteThe selection criteria of Window functions mainly depends upon the value of attenuation in stop band i.e., 'As'
ReplyDeletethanks for adding
Delete