


% -*- texinfo -*-
% @deftypefn {Function File} {[@var{x}, @var{y}, @var{z}] =} sph2cart (@var{theta}, @var{phi}, @var{r})
% Transform spherical to Cartesian coordinates.
% @var{x}, @var{y} and @var{z} must be the same shape, or scalar.
% @var{theta} describes the angle relative to the positive x-axis.
% @var{phi} is the angle relative to the xy-plane.
% @var{r} is the distance to the origin (0, 0, 0).
% @seealso{pol2cart, cart2pol, cart2sph}
% @end deftypefn