topolar ============================================== Purpose ---------------- Converts from Cartesian to polar coordinates. Format ---------------- .. function:: { r, theta } = topolar(xy) :param xy: NxK complex matrix containing the *x* coordinate in the real part and the *y* coordinate in the imaginary part :type xy: complex matrix :return r: radius. :rtype r: NxK real matrix :return theta: angle in radians. :rtype theta: NxK real matrix Source ------ coord.src