Professional Documents
Culture Documents
Table of Contents
........................................................................................................................................ 1
Low pass filter ................................................................................................................... 1
High pass filter ................................................................................................................... 2
Band pass filter ................................................................................................................... 3
Band elemination filter ......................................................................................................... 4
% phase
w=0:0.02:10; RC=1;
phaseGjw=-atan(w.*RC).*180./pi;
subplot(2,1,2)
semilogx(w,phaseGjw);...
xlabel('Frequency in rad/sec ? log scale'); ylabel('Phase of Vout/
Vin ? degrees');...
title('Phase Characteristics of basic RC low?pass filter');
grid
1
Analog Filters
% Phase
w=0:0.02:10; RC=1;
phaseGjw=atan(1./(w.*RC)).*180./pi;
subplot(2,1,2)
semilogx(w,phaseGjw);...
xlabel('Frequency in rad/sec ? log scale'); ylabel('Phase of Vout/
Vin ? degrees');...
title('Phase Characteristics of basic RC high?pass filter');
grid
2
Analog Filters
% Phase
w=0:0.02:100;
phaseGjw=angle(-j.*w./(w.^2-j.*w-1)).*180./pi;
subplot(2,1,2)
semilogx(w,phaseGjw);...
xlabel('Frequency in rad/sec ? log scale'); ylabel('Phase of Vout/
Vin ? degrees');...
title('Phase Characteristics of basic RLC band?pass filter');
grid
3
Analog Filters
% Phase
w=0:0.02:100;
phaseGjw=angle((w.^2-1)./(w.^2-j.*w-1)).*180./pi;
subplot(2,1,2)
semilogx(w,phaseGjw);...
xlabel('Frequency in rad/sec ? log scale'); ylabel('Phase of Vout/
Vin ? degrees');...
title('Phase Characteristics of basic RLC band?elimination filter');
grid
4
Analog Filters