Polar to Cartesian
Convert polar coordinates to Cartesian coordinates
Libraries:
Simulink Extras /
Transformations
Description
The Polar to Cartesian block transforms the polar coordinates (r, theta) to the Cartesian coordinates (x, y).
The first and second inputs correspond to r and theta, respectively. The angle theta is in radians. The first and second outputs correspond to x and y, respectively.
The polar coordinates (r, theta) describe a point where r is the distance from the origin, and theta is the counterclockwise angle in radians from the positive x-axis. The Cartesian coordinates (x, y) describe the same point with respect to the x-axis and y-axis.
x = r × cos(theta)
y = r × sin(theta)
Ports
Input
Output
Version History
Introduced in R2008b