Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Complex Number Representation in Matlab

  1. Nov 6, 2006 #1
    Hey Everyone,

    I cannot seem to find an way in Matlab to convert a number which has a real and imaginary part in cartesian form into polar form and then express the polar representation on the output.




    0.8431<79.04 deg (without using my calc.)

  2. jcsd
  3. Nov 6, 2006 #2
    Use abs(z) for the magnitude and angle(z) for the phase of z. Type "help abs" or "help angle" at the prompt for more help on these functions.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook