summaryrefslogtreecommitdiff
path: root/275/CH1/EX1.1.31/Ch1_1_31.sce
blob: 5fc380b2a34b39239b2498a1d95882f91eef8ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
disp("Example 1.31")
printf("\n")
disp("Plot the piecewise-linear characteristic of silicon diode")
printf("Given\n")
//given
Vf=[0 0.7 0.74]
If=[0 0 0.2]
plot2d(Vf, If)
xlabel("Vf")
ylabel("If")
xtitle("Piecewise-linear characteristic of diode")