Converting rectangular form complex numbers into polar form

367 次查看(过去 30 天)
I am having trouble converting rectangular form complex numbers into polar form by writing a MATLAB script file.
I'm not fimular with MATLAB keywords but need to use this to prove my answers.
Z = 4 + j 5

采纳的回答

Robin Gangopadhya
You could have found this by searching right here(some one answered in 2014)...does it work for you?
x=2+3j
rho=abs(x)
theta=angle(x)
%-------------------
x=rho*exp(j*theta)

更多回答(1 个)

Robin Gangopadhya
it is the absolute value of the complex number a+jb= sqrt(a^2+b^2)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by