% TAND TAND Tangent Degrees Function
% 
% Usage
% 
% Computes the tangent of the argument, but takes
% the argument in degrees instead of radians (as is the case
% for cos). The syntax for its use is
% 
%    y = tand(x)
% 
function y = tand(x)
  if (nargin == 0 || ~isnumeric(x))
    error('tand expects a numeric input');
  end
  y = tan(deg2rad(x));
