car2pol: Cartesian to polar/cylindrical coordinate conversion

Description Usage Arguments Value Author(s) See Also

View source: R/car2pol.R

Description

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

Usage

1

Arguments

x

2/3-element or n-by-2/3 matrix representing the Cartesian components (x,y)/(x,y,z) of n two/three-dimensional vectors

Value

Returns a 2/3-element vector or a n-by-2/3 element 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.

Author(s)

Danail Obreschkow

See Also

pol2car


physx documentation built on Feb. 3, 2022, 5:08 p.m.

Related to car2pol in physx...