sphere2cartesian_x

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

Arguments

  1. Coordinate r
  2. Coordinate f
  3. Coordinate t

Output

Coordinate x

Examples

sphere2cartesian_x