function x = cotd(x)
%COTD   Cotangent of argument in degrees.
%   COTD(X) is the cotangent of the elements of X, expressed in degrees.
%   For integers n, cotd(n*180) is infinite, whereas cot(n*pi) is large
%   but finite, reflecting the accuracy of the floating point value of pi.
%
%   Class support for input X:
%      float: double, single
%
%   See also ACOTD, COT.

%   Copyright 1984-2020 The MathWorks, Inc.

x = tand(x);
x = ones('like',x)./x;