270 Practical MATLAB® Applications for Engineers
ANALYTICAL SolutionX
jC j
C() j
(/ )
11
10 1 404
··ΩX = 3 − j4 (Ω)Then, Z = X//R 2.Z
X
X
*
10
10367 ∠Ω36.MATLAB Solution
% Script file: imp _ Z
W = 10;
R1 = 3;
R2 = 10;
C = 1/40;
XC = -j/(W*C);
X = R1+XC;
Z = X*R2/(X+R2);
Zmag = abs(Z);
Phase = angle(Z);
Phase _ deg = Phase*360/(2*pi);
disp(‘^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^’)
disp(‘Magnitude of Z (in Ohms) and phase (in degrees) is given by :’);
Zmag
Phase _ deg
disp(‘^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^’)The script fi le imp_Z is executed and the results are shown as follows.FIGURE 3.51
Network of Example 3.3.
Z R 2 = 10 ΩR 1 = 3 ΩC = 1/40 Fw = 10 rad/s