Page 105 - Numerical Analysis Using MATLAB and Excel
P. 105
Chapter 3 Sinusoids and Phasors
2.2361
-153.4349
or
x = −2; y = −1; [theta,r] = cart2pol(x,y), deg = theta*180/pi
theta =
-2.6779
r =
2.2361
deg =
-153.4349
Check with the Simulink model of Figure 3.13:
Figure 3.13. Simulink model for Example 3.8 (c)
d. The real and imaginary components of this phasor are shown in Figure 3.14.
Im
323.1° 4
Re
−36.9°
5
−3
Figure 3.14. The components of 4 – j3
Then,
⁄
2
2
∠
∠
–
4j3 = 4 + 3 ⋅ e j tan – – ( 3 4 ) = 5e j323.1° = 5323.1° = 5e – j36.9° = 5 – 36.9°
Check with MATLAB:
w=4−j*3; magw=abs(w); thetaw=angle(w)*180/pi; disp(magw); disp(thetaw)
3−18 Numerical Analysis Using MATLAB® and Excel®, Third Edition
Copyright © Orchard Publications