res = cot(x)
acot computes the cotangent of angle for each element of x.
R = cot([-i pi+i*pi/2 -1+i*4])