176 Practical MATLAB® Applications for Engineers
FIGURE 2.75
Plot of the sum of the voltage across R and L of Example 2.22 Figure (7).
0 0.5 1 1.5 2 2.5 3
− 1
−0.5
0
0.5
1
× 10 −^7
time
Vc(t) versus t
Vc(t) in volts
FIGURE 2.76
Plot of the voltage across C of Example 2.22 MATLAB Figure (8).
0 0.5 1 1.5 2 2.5 3
− 600
− 400
− 200
0
200
400
600
time
[Vr(t)+VL(t)] versus t
[Vr(t)+VL(t)] in volts