summaryrefslogtreecommitdiff
path: root/3630/CH12/EX12.3/Ex12_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH12/EX12.3/Ex12_3.sce')
-rw-r--r--3630/CH12/EX12.3/Ex12_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3630/CH12/EX12.3/Ex12_3.sce b/3630/CH12/EX12.3/Ex12_3.sce
new file mode 100644
index 000000000..28331aacc
--- /dev/null
+++ b/3630/CH12/EX12.3/Ex12_3.sce
@@ -0,0 +1,12 @@
+clc;
+Vgs1=[-6 -4 -2 0];
+Id1=[0 0.556 2.222 5];
+Vgs2=[-0.5 -0.4 -0.2 0];
+Id2=[0 0.04 0.36 1];
+plot(Vgs1,Id1)
+xgrid
+set(gca(),"auto_clear","off")
+plot2d(Vgs2,Id2)
+xlabel('Vgs(V)')
+ylabel('Id(mA)')
+