blob: 5cbe032cda92a4e1f4d9172d4308a0b5da2050af (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clear; clc; close;
vgs=1.8;
vt=0.5;
cl=200*(10^(-9));
enln=6*(10^6)*cl;
eplp=24*(10^6)*cl;
vdsat1=((vgs-vt)*enln)/(vgs-vt+enln);
vdsat2=((vgs-vt)*eplp)/(vgs-vt+eplp);
disp(vdsat1,'Vdsat for NMOS(in volts)');
disp(vdsat2,'Vdsat for PMOS(in volts)');
|