function Y = coth(X)
%COTH   Symbolic hyperbolic cotangent.

%   Copyright (c) 1993-98 by The MathWorks, Inc.
%   $Revision: 1.6 $  $Date: 1997/11/29 01:05:26 $

[Y,stat] = maple('map','coth',X);

if stat
   % Singularities
   Y = X;
   for k = 1:prod(size(X))
      [Y(k),stat] = maple('coth',X(k));
      if stat
         Y(k) = Inf;
      end
   end
end
