sin

Calculates the sine value of an argument. Depending on input, function can return scalar, vector, matrix or complex number.

Arguments

  1. Real or complex value x

Output

Value in [-1, 1] or complex number

Examples

sin