Mercurial > hg > octave-jordi
comparison scripts/strings/dec2hex.m @ 3791:c1c532a0acb2
[project @ 2001-02-09 15:28:23 by jwe]
author | jwe |
---|---|
date | Fri, 09 Feb 2001 15:28:23 +0000 |
parents | 2a257be5e488 |
children | 819e3c246702 |
comparison
equal
deleted
inserted
replaced
3790:1e0d844b8f54 | 3791:c1c532a0acb2 |
---|---|
31 ## padded with leading zeros to the width of the largest value. | 31 ## padded with leading zeros to the width of the largest value. |
32 ## @end deftypefn | 32 ## @end deftypefn |
33 ## | 33 ## |
34 ## @seealso{hex2dec, dec2base, base2dec, bin2dec, dec2bin} | 34 ## @seealso{hex2dec, dec2base, base2dec, bin2dec, dec2bin} |
35 | 35 |
36 ## Author: Daniel Calvelo | 36 ## Author: Daniel Calvelo <dcalvelo@yahoo.com> |
37 ## Adapted-by: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> | 37 ## Adapted-by: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
38 | 38 |
39 function h = dec2hex (d) | 39 function h = dec2hex (d) |
40 | 40 |
41 if (nargin != 1) | 41 if (nargin != 1) |