cartesian2sphere_t

Converts p(x,y,z) from Cartesian into Spherical coordinates. Returns only the t coordinate. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Coordinate x
  2. Coordinate y
  3. Coordinate z

Output

Coordinate t

Examples

cartesian2sphere_t