polar edit page

Cartesian to spherical coordinates

Syntax

[theta,rho,r] = polar(v)

Input

v vector3d

Output

theta polar angle
rho azimuthal angle
r radius