pol2car: Polar/cylindrical to Cartesian coordinate conversion

View source: R/pol2car.R

pol2carR 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


obreschkow/cooltools documentation built on Nov. 16, 2024, 2:46 a.m.