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 301234567891011time t / secVoltages across L=1, for R=1, 2, and 5voltageR = 1 ohmR = 2 ohmsR = 5 ohms