Mercurial > octave-nkf
comparison scripts/strings/hex2dec.m @ 5642:2618a0750ae6
[project @ 2006-03-06 21:26:48 by jwe]
author | jwe |
---|---|
date | Mon, 06 Mar 2006 21:26:54 +0000 |
parents | 4c8a2e4e0717 |
children | 34f96dd5441b |
comparison
equal
deleted
inserted
replaced
5641:eb998631a4aa | 5642:2618a0750ae6 |
---|---|
29 ## @result{} 299 | 29 ## @result{} 299 |
30 ## @end example | 30 ## @end example |
31 ## | 31 ## |
32 ## If @var{s} is a string matrix, returns a column vector of converted | 32 ## If @var{s} is a string matrix, returns a column vector of converted |
33 ## numbers, one per row of @var{s}. Invalid rows evaluate to NaN. | 33 ## numbers, one per row of @var{s}. Invalid rows evaluate to NaN. |
34 ## @seealso{dec2hex, base2dec, dec2base, bin2dec, dec2bin} | |
34 ## @end deftypefn | 35 ## @end deftypefn |
35 ## | |
36 ## @seealso{dec2hex, base2dec, dec2base, bin2dec, dec2bin} | |
37 | 36 |
38 ## Author: Daniel Calvelo <dcalvelo@yahoo.com> | 37 ## Author: Daniel Calvelo <dcalvelo@yahoo.com> |
39 ## Adapted-by: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> | 38 ## Adapted-by: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
40 | 39 |
41 function d = hex2dec (h) | 40 function d = hex2dec (h) |