Mercurial > octave-nkf
comparison scripts/general/sph2cart.m @ 5053:c08cb1098afc
[project @ 2004-10-19 23:10:54 by jwe]
author | jwe |
---|---|
date | Tue, 19 Oct 2004 23:10:55 +0000 |
parents | 22bd65326ec1 |
children | 4c8a2e4e0717 |
comparison
equal
deleted
inserted
replaced
5052:c6ef19da4b24 | 5053:c08cb1098afc |
---|---|
23 ## @var{x}, @var{y} and @var{z} must be of same shape. | 23 ## @var{x}, @var{y} and @var{z} must be of same shape. |
24 ## @var{theta} describes the angle relative to the x-axis. | 24 ## @var{theta} describes the angle relative to the x-axis. |
25 ## @var{phi} is the angle relative to the xy-plane. | 25 ## @var{phi} is the angle relative to the xy-plane. |
26 ## @var{r} is the distance to the origin (0, 0, 0). | 26 ## @var{r} is the distance to the origin (0, 0, 0). |
27 ## @end deftypefn | 27 ## @end deftypefn |
28 ## | |
28 ## @seealso{pol2cart, cart2pol, cart2sph} | 29 ## @seealso{pol2cart, cart2pol, cart2sph} |
29 | 30 |
30 ## Author: Kai Habel <kai.habel@gmx.de> | 31 ## Author: Kai Habel <kai.habel@gmx.de> |
31 ## Adapted-by: jwe | 32 ## Adapted-by: jwe |
32 | 33 |