view scripts/elfun/csc.m @ 1596:b26b206a8994

[project @ 1995-11-01 00:47:21 by jwe]
author jwe
date Wed, 01 Nov 1995 00:47:21 +0000
parents 3470f1e25a79
children 5cffc4b8de57
line wrap: on
line source

function w = csc (z)
  
# csc (z):  compute the cosecant for each element of z.
  
  if (nargin != 1)
    usage ("csc (z)");
  endif

  w = 1 ./ sin(z);
  
endfunction