Cot

Parent Previous Next

Cot


Cotangent function



Syntax


Cot(x)

x is scalar

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


x is matrix

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


Example


Input

Output

cot(PI/4)

cot(1+i)

cot([1+i, 1, 1-i])

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


See Also


Created with the Personal Edition of HelpNDoc: Easy EBook and documentation generator