blob: 0f2a0946b06d67bbdd9f1353f379d5d8c40ba900 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
//Example 4.8
clear;
clc;
f0=2*10^3;
Q=25;
C=10*10^(-9);//Assumed
w0=2*%pi*f0;
L=1/((w0^2)*C);
R=Q/((C/L)^(1/2));
//Specifying components of GIC
C2=C;
R1=(L/C2)^(1/2);
R3=R1;
R4=R1;
R5=R1;
printf("Designed Dual Amplifier Band Pass Filter :");
printf("\nC=%.2f nF",C*10^9);
printf("\nL=%.2f H",L);
printf("\nR=%.2f kohms",R*10^(-3));
printf("\n\nComponents of General Impedance Converter :");
printf("\nC2=%.2f nF",C2*10^9);
printf("\nR1=R3=R4=R5=%.2f kohms",R1*10^(-3));
|