cylinder2sphere_r

Converts p(r, f, z) from Cylindrical into Spherical coordinates. Returns only the r coordinate. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Coordinate r
  2. Coordinate f
  3. Coordinate z

Output

Coordinate r

Examples

cylinder2sphere_r