diff scripts/general/sph2cart.m @ 10687:a8ce6bdecce5

Improve documentation strings.
author Rik <octave@nomad.inbox5.com>
date Tue, 08 Jun 2010 20:22:38 -0700
parents 742cf6388a8f
children 7357e37f34fa
line wrap: on
line diff
--- a/scripts/general/sph2cart.m
+++ b/scripts/general/sph2cart.m
@@ -22,7 +22,7 @@
 ## @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).
+## @var{r} is the distance to the origin @w{(0, 0, 0)}.
 ## @seealso{pol2cart, cart2pol, cart2sph}
 ## @end deftypefn