home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-bin
/
lib
/
octave
/
1.1.1
/
m
/
elfun
/
sech.m
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1996-10-12
|
181 b
|
12 lines
function w = sech (z)
# sech (z): compute the hyperbolic secant for each element of z.
if (nargin != 1)
usage ("sech (z)");
endif
w = 1 ./ cosh(z);
endfunction