0% found this document useful (0 votes)
26 views3 pages

Program 14

This document describes designing an IIR low-pass Butterworth filter with specifications of 0.36 dB passband attenuation, 36 dB stopband attenuation, 1500 Hz passband frequency, 2000 Hz stopband frequency, and 6000 Hz sampling frequency. The filter is designed using MATLAB's butterworth filter design functions and its magnitude, phase, and impulse responses are verified using the FDA toolbox. The design and verification are successful.

Uploaded by

Thomas James
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views3 pages

Program 14

This document describes designing an IIR low-pass Butterworth filter with specifications of 0.36 dB passband attenuation, 36 dB stopband attenuation, 1500 Hz passband frequency, 2000 Hz stopband frequency, and 6000 Hz sampling frequency. The filter is designed using MATLAB's butterworth filter design functions and its magnitude, phase, and impulse responses are verified using the FDA toolbox. The design and verification are successful.

Uploaded by

Thomas James
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

PROGRAM 14

Object : To design an IIR low-pass butterworth filter using the following specifications and verify
magnitude, phase and impulse response using FDA toolbox
Order minimum, Passband attenuation in dB : 0.36, Stop band attenuation in dB : 36, Passband
frequency in Hz : 1500, Stopband frequency in Hz : 2000, Sampling frequency in Hz : 6000
Tool used : MATLAB R2010b and FDA Toolbox
Theory : The primary advantage of IIR filters over FIR filters is that they typically meet a given set
of specifications with a much lower filter order than a corresponding FIR filter. This has the obvious
implementation advantages. IIR filters have nonlinear phase (they cannot have linear phase; they
might almost have linear phase). However, if data processing is to be performed off line, then the
effects of the nonlinear phase can be eliminated. So let us assume that the entire input data sequence
is available prior to filtering. This allows for a non-causal, zero-phase filtering approach (via the
filtfilt funtion), which eliminates the nonlinear phase distortion of an IIR filter. The classical IIR
filters - Butterworth, Chebyshev Type I and II, elliptic, and Bessel - all approximate the ideal brick
wall filter in different ways. The Signal Processing Toolbox provides functions to create all these
types of IIR filters in both the analog and digital domains (except Bessel, for which only the analog
case 4is supported), and in lowpass, highpass, bandpass, and bandstop configurations. For most filter
types, you can also find the lowest filter order that fits a given filter specification in terms of
passband ripple, stopband attenuation, and the transition band widths.

Source Code:

clc;
clear all;
close all;
wp=.5;ws=2/3;rp=.36;rs=36;
[N, Wn] = BUTTORD(wp,ws,rp,rs);
[B,A] = BUTTER(N,Wn);
freqz(B,A);
impz(B,A,100);


Result:






FDA TOOL :




Conclusion : Successfully designed the IIR low-pass butterworth filter with specified parameters
using MATLAB commands and verified the magnitude, phase and impulse responses using the FDA
Toolbox as shown in the figure.

You might also like