Mercurial > octave
comparison scripts/strings/dec2hex.m @ 2314:949ab8eba8bc
[project @ 1996-07-12 03:58:02 by jwe]
author | jwe |
---|---|
date | Fri, 12 Jul 1996 03:58:02 +0000 |
parents | 5ca126254d15 |
children | b5568c31ee2c |
comparison
equal
deleted
inserted
replaced
2313:5ca126254d15 | 2314:949ab8eba8bc |
---|---|
19 | 19 |
20 ## usage: dec2hex (d) | 20 ## usage: dec2hex (d) |
21 ## | 21 ## |
22 ## Returns the hex number corresponding to the decimal number d. For | 22 ## Returns the hex number corresponding to the decimal number d. For |
23 ## example, dec2hex (2748) returns "abc". | 23 ## example, dec2hex (2748) returns "abc". |
24 | |
25 ## Author: jwe | |
24 | 26 |
25 function h = dec2hex (d) | 27 function h = dec2hex (d) |
26 | 28 |
27 ## Original version by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>. | 29 ## Original version by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>. |
28 | 30 |