Mercurial > hg > octave-nkf
diff scripts/strings/dec2bin.m @ 2355:c9f70d39255f
[project @ 1996-08-20 23:30:54 by jwe]
author | jwe |
---|---|
date | Tue, 20 Aug 1996 23:32:09 +0000 |
parents | 7ffb2a630708 |
children | 4f40efa995c1 |
line wrap: on
line diff
--- a/scripts/strings/dec2bin.m +++ b/scripts/strings/dec2bin.m @@ -22,12 +22,11 @@ ## Returns the binary number corresponding to the nonnegative integer ## x. For example, dec2bin (14) returns "1110". -## Author: jwe +## Author: Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> +## Adapted-By: jwe function y = dec2bin (x) - ## Original version by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>. - if (nargin != 1) usage ("dec2bin (x)"); endif