Mercurial > octave
view scripts/elfun/sec.m @ 1229:7d7c3eaa1d3b
[project @ 1995-04-10 01:04:13 by jwe]
author | jwe |
---|---|
date | Mon, 10 Apr 1995 01:04:46 +0000 |
parents | 79ee7f07221e |
children | 5cffc4b8de57 |
line wrap: on
line source
function w = sec (z) # sec (z): compute the secant for each element of z. if (nargin != 1) usage ("sec (z)"); endif w = 1 ./ cos(z); endfunction