Converting polar form complex numbers into rectangular form
279 views (last 30 days)
Show older comments
Dalton Houghton-Schaffer
on 4 Sep 2019
Commented: Voss
on 3 Apr 2024
I am having trouble converting polar form complex numbers into rectangular form by writing a MATLAB script file.
I'm not fimular with MATLAB keywords but need to use this to prove my answers.
Z = 0.5 angle( pi / 4 )
or
Z = 0.5 angle( - 45 degrees )
Accepted Answer
KALYAN ACHARJYA
on 4 Sep 2019
Edited: KALYAN ACHARJYA
on 4 Sep 2019
"Converting polar form complex numbers into rectangular form"
z=0.5;theta=pi/4;
[X,Y]=pol2cart(theta,z)
Result:
X =
0.3536
Y =
0.3536
Manually:
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!