MATLAB: How to use cart2pol

cart2pol

Hello
cart2pol returns angles between -pi and pi, what I can do to have angles between 0 and 2*pi (0 and 360). thanks

Best Answer

mod(theta, 2*pi)
See also the unwrap() function.
Related Question