288 Practical MATLAB® Applications for Engineers
Example 3.13Create the script fi le impedance_ plots that returns for the series RLC circuit shown in
Figure 3.69, over the range 100 ≤ ω ≤ 10,000 rad/s, the following plots:- |Z(ω)| versus ω
- ∠Z(ω) versus ω
- Repeat parts 1 and 2 for the case where the three elements (R, L, and C) are connected
in parallel
R = 10 ΩC = 12.5 μFL = 5 mH
100 rad/s ≤ w ≤ 10,000 rad/sFIGURE 3.69
Network of Example 3.13.
0.20.100 0.1100.2 0.3 0.4 0.50.5−0.5− 1Real
Voltage of the RC Circuit of Example 3.120.6 0.7 0.8 0.9 10 0.2 0.4 0.6 0.8 1
time in seconds1.2 1.4 1.5 1.8
× 10 −^32−0.1−0.2Amplitude in VoltsImaginaryVS
VC
VRvs(t)
vr(t)
vc(t)Phasor Diagram (Example 3.12)FIGURE 3.68
Plots of Example 3.12.