cartesian2sphere_r
Converts p(x,y,z) from Cartesian into Spherical coordinates. Returns only the r coordinate. Depending on input, function can return scalar, vector or matrix
Arguments
- Coordinate x
- Coordinate y
- Coordinate z
Output
Coordinate r
Examples