blob: a1d4f163ff15bab2e8148c65f28d71667dc221bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc;
Idss=0.003;
Vgs=[0 -1 -3 -5];
Vgsoff=-6;
Id=zeros(1,5);
Id(1,1)=Idss*(1-(Vgs(1,1)/Vgsoff))^2;
Id(1,2)=Idss*(1-(Vgs(1,2)/Vgsoff))^2;
Id(1,3)=Idss*(1-(Vgs(1,3)/Vgsoff))^2;
Id(1,4)=Idss*(1-(Vgs(1,4)/Vgsoff))^2;
Vgs1=[0 -1 -3 -5 -6];
plot(Vgs1,Id*1000)
xlabel('Vgs(V)')
ylabel('Id(mA)')
|