view scripts/elfun/acot.m @ 904:3470f1e25a79

[project @ 1994-11-09 21:22:15 by jwe]
author jwe
date Wed, 09 Nov 1994 21:22:15 +0000
parents 632844972d35
children 5cffc4b8de57
line wrap: on
line source

function w = acot (z)

# acot (z):  compute the inverse cotangent for each element of z.

  if (nargin != 1)
    usage ("acot (z)");
  endif

  w = atan (1 ./ z);

endfunction