Member of the basic class.
[x, y] = pol2cart(a, b)
[x, y, z] = pol2cart(a, b, c)
Converts 2D or 3D polar data to Cartesian data. This function works element-wise for matrices.
| Name | Description |
| a | Specifies the angles of the polar data. a is a matrix. |
| b | Specifies the radii of the polar data. b is a matrix of the same size as a. |
| c | Specifies the heights of the polar data. c is a matrix of the same size as a. |
| Name | Description |
| x | Returns the x-coordinates of the Cartesian data. x is a matrix of the same size as a. |
| y | Returns the y-coordinates of the Cartesian data. y is a matrix of the same size as a. |
| z | Returns the z-coordinates of the 3D Cartesian data. z is equivalent to c. z is a matrix of the same size as c. |
LabVIEW computes x and y according to the following equations:
x = b.*cos(a).
y = b.*sin(a).
[X, Y, Z] = pol2cart(1, 1, 1)