Biomedical Engineering Reference
In-Depth Information
EXAMPLE PROBLEM A.2
Use MATLAB to determine
z
3
¼
z
1
z
if
z
1
¼
3
þ
j
2 and
z
2
¼
2
j
.
2
Solution
In MATLAB we write
>>
z1
¼
3
þ
j
*
2
z1
3.0000
þ
2.0000i
>>
z2
¼
2-j
z2
2.0000
1.0000i
>>
z3
¼
z1/z2
z3
0.8000
þ
1.4000i
EXAMPLE PROBLEM A.3
Evaluate
e
j
0:4887
z
¼
(60
þ
j
30
Þþ
100
Solution
To evaluate
, we use the following MATLAB commands, mixing the rectangular and polar
forms of a complex number.
>>
z
z
¼
60
þ
j
*
30
þ
100
*
exp(
j
*
0.4887)
z
¼
1.4829e
þ
002
1.6948e
þ
001i
EXAMPLE PROBLEM A.4
Evaluate the magnitude and angle of the following complex number:
z
¼
3
(5
j
4
Þ
Solution
>>
z
¼
(5
j
*
4)
∧
3
z
¼
1.1500e
þ
002
2.3600e
þ
002i
>>
r
¼
abs(z)
r
¼
262.5281
>>
theta
¼
angle(z)
theta
¼
2.0242