blob: 59478df95646b79be0558df000a0e37157a3be62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Exa 6.7
format('v',6)
clc;
clear;
close;
// Given data
V_CC= 12;// in V
R_C= 3;// in kΩ
V_CE= 0:0.1:12;// in V
I_C= (V_CC-V_CE)/R_C;// in mA
plot(V_CE,I_C);
xlabel("V_CE in volts")
ylabel("I_C in mA")
title("DC load line")
disp("DC load line shown in figure.")
|