182 Practical MATLAB® Applications for Engineers
********************************************
vr _ 1 =
10 - 10*exp(-t)
********************************************
vr _ 2 =
10 - 10*exp(-2*t)
********************************************
vr _ 5 =
10 - 10*exp(-5*t)
********************************************
********************************************
The voltages across L=1
for R=1,2 and 5 (in Ohms) are:
********************************************
********************************************
vlr _ 1 =
10*exp(-t)
********************************************
vlr _ 2 =
10*exp(-2*t)
********************************************
vlr _ 5 =
10*exp(-5*t)
********************************************
See Figures 2.83 and 2.84.
FIGURE 2.83
Transient voltage plots across L of Example 2.24.
0 0.5 1 1.5 2 2.5 3
0
1
2
3
4
5
6
7
8
9
10
11
time t / sec
Voltages across L=1, for R=1, 2, and 5
voltage
R = 1 ohm
R = 2 ohms
R = 5 ohms