PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

Alternating Current Analysis 279


The average value of f1(t) is =
-6.8464e-016
The rms value of f1(t) is =
3.5355
The average value of f2(t) is =
0.5000
The rms value of f2(t) is =
0.5774
The average value of f3(t) is =
0.5000
The rms value of f1(t) is =
0.7071
*********************************************************
Observe that the numerical results fully agree with the symbolic results.

Example 3.9

Create the script fi les circ_Fig_359 and circ_Fig_360 that return for the circuits shown in
Figures 3.59 and 3.60, the following plots:


  1. |Z(ω)| v e r s u s ω
    2. ∠Z(ω) versus ω


− 3 − 2 − 1 0123

− 5

0

5

Plots of f1(t), f2(t), & f3(t)

f1 (t)

− 1 −0.5^0 0.5^1 1.5^2 2.5^3

−0.5

0


  1. 5


1

1.5

f2 (t)

− 1 −0.5^0 0.5^1 1.5^2 2.5^3

−0.5

0

0.5

1

1.5

f3 (t)

time

(a)

(b)

(c)

FIGURE 3.58
Plots of the periodic functions of Example 3.8 (a, b, c).
Free download pdf