Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Transform Cartesian coordinates to polar or cylindrical

```
[theta,rho]
= cart2pol(x,y)
```

```
[theta,rho,z]
= cart2pol(x,y,z)
```

The mapping from two-dimensional Cartesian coordinates to polar coordinates, and from three-dimensional Cartesian coordinates to cylindrical coordinates is

Was this topic helpful?