Home > freetb4matlab > general > pol2cart.m

pol2cart

PURPOSE ^

% Transform polar or cylindrical to Cartesian coordinates.

SYNOPSIS ^

function [x, y, z] = pol2cart (theta, r, z)

DESCRIPTION ^

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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003