Converting rectangular form complex numbers into polar form

435 vues (au cours des 30 derniers jours)
Dalton Houghton-Schaffer
Dalton Houghton-Schaffer le 4 Sep 2019
Commenté : Dwij Padia le 23 Mar 2021
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

Réponse acceptée

Robin Gangopadhya
Robin Gangopadhya le 4 Sep 2019
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)
  2 commentaires
Dalton Houghton-Schaffer
Dalton Houghton-Schaffer le 4 Sep 2019
This works thank you so much!! Rho represents what exactly?
Dwij Padia
Dwij Padia le 23 Mar 2021
Rho is magnitude

Connectez-vous pour commenter.

Plus de réponses (1)

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

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by