tocart

Purpose

Converts from polar to Cartesian coordinates.

Format

xy = tocart(r, theta)
Parameters:
  • r (NxK real matrix) – radius.data

  • theta (LxM real matrix) – ExE conformable with r, angle in radians.

Returns:

xy (max(N,L) by max(K,M) complex matrix) – containing the x coordinate in the real part and the y coordinate in the imaginary part.

Source

coord.src