MATLAB FAQ
Frequently Asked Questions
Question |
---|
How do I convert a rectangular complex number to polar form? |
How do I enter a complex number in polar form? |
How do I convert a rectangular complex number to polar form?
If the complex number is stored in the variable
A
(for example), use[abs(A),angle(A)*(180/pi)]
to find the magnitude and angle in degrees
How do I enter a complex number in polar form?
I like to use the closely related exponential form for this one. if the polar number is
A∠Θ
, I enterA*exp(j*Θ*(pi/180))