Professional Documents
Culture Documents
DATE:
AIM:
To write a matlab program to design a FIR filter in analog and digital form and to plot its
response.
SOFTWARE REQUIRED:
MATLAB Simulator
THEORY:
Filters are used in digital signal processing to remove undesirable parts of the signal, such as
random noise, or to extract useful parts of the signal, such as the parts of the signal
belonging to a particular range. Digital filters can be classified into two groups, FIR (finite-
duration impulse response) and IIR (infinite-duration impulse response) filters.
FIR FILTER:
The finite response filter is a non-recursive filter and it does not have feedback.It is a
all zero filter.FIR filter can be designed using various methods.They are,
The frequency sampling method is of type-I and type II.For linear phase filters, with positive
symmetrical impulse response,
RECTANGULAR WINDOW:
Fs = 8000 Hz fp = 1500 Hz fs = 3000 Hz N=2
HANNING WINDOW:
Fs = 8000 Hz fp = 1500 Hz fs = 3000 Hz N=20
HAMMING WINDOW:
Fs = 8000 Hz fp = 2500 Hz fs = 500 Hz N=20
Presentation Uniqueness Punctuality Viva Total
RESULT:
Thus the matlab program to design FIR filter was done and its response was
plotted.