CART2SPH

 

 Transform Cartesian coordinates to spherical.

  [AZ,EL,R] = CART2SPH(X,Y,Z) transforms data stored in Cartesian

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

  Y and Z must be also be the same size.  AZ and EL are in radians.

 

 

  See also CART2POL1L8K1O3, SPH2CART2OYKHOE, POL2CART2LWEPLM.