Next: Mathematical Constants, Previous: Special Functions, Up: Arithmetic
Transform cartesian to polar or cylindrical coordinates. x, y (and z) must be of same shape. theta describes the angle relative to the x - axis. r is the distance to the z - axis (0, 0, z).
See also: pol2cart, cart2sph, sph2cart.
Transform polar or cylindrical to cartesian coordinates. theta, r (and z) must be of same shape. theta describes the angle relative to the x - axis. r is the distance to the z - axis (0, 0, z).
See also: cart2pol, cart2sph, sph2cart.
Transform cartesian to spherical coordinates. x, y and z must be of same shape. theta describes the angle relative to the x - axis. phi is the angle relative to the xy - plane. r is the distance to the origin (0, 0, 0).
See also: pol2cart, cart2pol, sph2cart.
Transform spherical to cartesian coordinates. x, y and z must be of same shape. theta describes the angle relative to the x-axis. phi is the angle relative to the xy-plane. r is the distance to the origin (0, 0, 0).
See also: pol2cart, cart2pol, cart2sph.