Sin

Parent Previous Next

Sin


Sine function



Syntax


Sin(x)

x is scalar

Return a scalar which is the sine function of x, where x is in radian unit


x is matrix

Return a matrix in which the element is the sine function of the element in x, where x is in radian unit


Examples


Input

Output

sin(PI/2)

sin(1+i)

sin([1+i, 0, 1-i])

sin([i, 1-3i; -2i, 5])


See Also


Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation