Trigonometric Functions

  • cos Computes cosine of vector elements.

  • sin Computes sine of vector elements.

  • sincos Computes sine and cosine of vector elements.

  • cis Computes complex exponent of real vector elements (cosine and sine of real vector elements combined to complex value).

  • tan Computes tangent of vector elements.

  • acos Computes inverse cosine of vector elements.

  • asin Computes inverse sine of vector elements.

  • atan Computes inverse tangent of vector elements.

  • atan2 Computes four-quadrant inverse tangent of elements of two vectors.

  • cospi Computes the cosine of vector elements multiplied by π.

  • sinpi Computes the sine of vector elements multiplied by π.

  • tanpi Computes the tangent of vector elements multiplied by π.

  • acospi Computes the inverse cosine of vector elements divided by π.

  • asinpi Computes the inverse sine of vector elements divided by π.

  • atanpi Computes the inverse tangent of vector elements divided by π.

  • atan2pi Computes the four-quadrant inverse tangent of the ratios of the corresponding elements of two vectors divided by π.

  • cosd Computes the cosine of vector elements multiplied by π/180.

  • sind Computes the sine of vector elements multiplied by π/180.

  • tand Computes the tangent of vector elements multiplied by π/180.