pol2cart
Transforms polar or cylindrical coordinates to Cartesian.
📝Syntax
[x, y] = pol2cart(theta, rho)
[x, y, z] = pol2cart(theta, rho, z)
📥Input Arguments
Parameter Description
theta a numeric value: Angular coordinate.
rho a numeric value: Radial coordinate.
z a numeric value: Elevation coordinate.
📤Output Arguments
Parameter Description
x a numeric value (double or single real): Cartesian coordinates
y a numeric value (double or single real): Cartesian coordinates
z a numeric value (double or single real): Cartesian coordinates
📄Description
pol2cart transforms polar or cylindrical coordinates to Cartesian.
💡Examples
theta = [0 pi/4 pi/2 pi];
rho = [5 5 10 10];
[x, y] = pol2cart(theta, rho)
🔗See Also
cart2pol
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub