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