view scripts/elfun/csc.m @ 1202:1f5ff647c7ab

[project @ 1995-04-01 00:20:39 by jwe]
author jwe
date Sat, 01 Apr 1995 00:20:39 +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