How do I convert a variable that is already in rectangular form to polar?
Show older comments
I have been using complex numbers in a matrix and they are in rectangular. I am trying to display those values in polar form.
Answers (1)
madhan ravi
on 13 Nov 2018
Edited: madhan ravi
on 13 Nov 2018
x=2+3j
rho=abs(x)
theta=angle(x)
%-------------------
x=rho*exp(j*theta)
Categories
Find more on Polar Plots 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!