## Monday, August 5, 2013

### PPT On Implementation of Analog and Digital Filters

Implementation of Analog and Digital Filters Presentation Transcript:
1. implementation of Analog and Digital Filters

2.MATLAB implementation of Analog and Digital Filters

3.What are Filters and their Types?
What is meant by Analog Filters?
How to implement RC Low Pass Filter using MATLAB
How to implement RC High Pass Filter using MATLAB
What are Digital Filters and their types?
How to design FIR Low Pass Filter?
How to design FIR High Pass Filter?
How to design FIR Band Pass Filter?
MATLAB implementation of Butterworth IIR Low Pass Filter?

4.Filters and their Types

5.Analog Filters

6.RC Low Pass Filter with Cutoff 200Hz

7.RC High Pass Filter with Cutoff 200Hz

8.Comparison of Low Pass & High Pass

9.Digital Filters and its types
10.FIR Low Pass Filter with Cutoff 1200Hz
fs=8000; % sampling frequency
n=50; % order of the filter
w=1200/ (fs/2);
b=fir1(n,w,'low'); % Zeros of the filter
freqz(b,1,128,8000
figure(2)
[h,w]=freqz(b,1,128,8000);
plot(w,abs(h));

11.FIR High Pass Filter with Cutoff 1200Hz
fs=8000;
n=50;
w=1200/ (fs/2);
b=fir1(n,w,'high');
freqz(b,1,128,8000);
figure(2)
[h,w]=freqz(b,1,128,8000)
plot(w,abs(h));

12.FIR Band Pass Filter with Pass Band 1200--1800Hz
fs=8000;
n=40;
b=fir1(n,[1200/4000 1800/4000],'bandpass');
freqz(b,1,128,8000)
figure(2)
[h,w]=freqz(b,1,128,8000);
plot(w,abs(h));

13.Butterworth IIR Low Pass Filter
fs=8000;
[n,w]=buttord(1200/4000,1500/4000,1,50);
% finding the order of the filter
[b,a]=butter(n,w);
% finding zeros and poles for filter
figure(1)
freqz(b,a,512,8000);
figure(2)
[h,q] = freqz(b,a,512,8000);
plot(q,abs(h));

14.Summary
Filters and their basic Types
Analog Filters
MATLAB implementation of RC Low Pass and High Pass Filters
Digital Filters and their types
MATLAB implementation of FIR Low Pass, High Pass and Band Pass Filter
MATLAB implementation of Butterworth IIR Low Pass Filter