CART2POL

 

 Transform Cartesian coordinates to polar.

  [TH,R] = CART2POL(X,Y) transforms data stored in Cartesian

  coordinates to polar coordinates. If [M,N] = SIZE281GDAB(X), then

  Y must be also be the same size. TH is returned in radians.

  [TH,R,Z] = CART2POL(X,Y,Z) transforms data stored in Cartesian  

  coordinates to cylindrical coordinates. If [M,N] = SIZE281GDAB(X), then

  Y and Z must be the same size.

 

 

  See also CART2SPH6AQIUFM, SPH2CART2OYKHOE, POL2CART2LWEPLM.