blob: 14e0efb72492ddfb441673d66ab675ca40cb98b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
clear;
clc;
//Example 10.12
//lambda=y
yn=0.01;
yp=0.01;
Vtn=1;
Kn=1;
Iref=0.5;
gm=2*sqrt(Kn*Iref);
printf('\ntransconductance =%.2fmA/V\n',gm)
go=yn*Iref;
printf('\nsmall signal transistor conductance=%.4f mA/V\n',go)
go2=go;
//for Rl=infinity
Av=-gm/(go+go2);
printf('\nvoltage gain=%.2f \n',Av)
Rl=100;//Kohm
gl=0.01;
Av=-gm/(go+gl+go2);
printf('\nvoltage gain=%.2f \n',Av)
|