topolar

Purpose

Converts from Cartesian to polar coordinates.

Format

{ r, theta } = topolar(xy)
Parameters:

xy (complex matrix) – NxK complex matrix containing the x coordinate in the real part and the y coordinate in the imaginary part

Returns:
  • r (NxK real matrix) – radius.

  • theta (NxK real matrix) – angle in radians.

Source

coord.src