summaryrefslogtreecommitdiff
path: root/3630/CH13/EX13.1/Ex13_1.sce
blob: ef715e1877503fc0d6a9ced062f811b47742f6b0 (plain)
1
2
3
4
5
6
7
8
9
clc;
Vgs=-6:1:4;
Vgsoff=-6;
Idss=0.001;
Id=Idss*(1-(Vgs/Vgsoff)).^2;
plot(Vgs,Id*1000,'r')
xgrid
xlabel('Vgs(V)')
ylabel('Id(mA)')