pol2car {cooltools}R Documentation

Polar/cylindrical to Cartesian coordinate conversion

Description

Convert polar/cylindrical coordinates to 2D/3D Cartesian coordinates

Usage

pol2car(x)

Arguments

x

2/3-element or n-by-2/3 matrix representing the polar/cylindrical coordinates (r,phi)/(r,phi,z), where phi=0...2*pi is the azimuth measured positively from the x-axis.

Value

Returns a 2/3-element vector or a n-by-2/3 element matrix representing the Cartesian coordinates (x,y)/(x,y,z).

Author(s)

Danail Obreschkow

See Also

car2pol


[Package cooltools version 2.4 Index]