sphere2cartesian

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

Arguments

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

Output

Vector(x, y, z)

Examples

sphere2cartesian