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