Mercurial > octave-nkf
comparison scripts/strings/bin2dec.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 | 4a48a1df26b7 |
comparison
equal
deleted
inserted
replaced
5641:eb998631a4aa | 5642:2618a0750ae6 |
---|---|
27 ## @result{} 14 | 27 ## @result{} 14 |
28 ## @end example | 28 ## @end example |
29 ## | 29 ## |
30 ## If @var{s} is a string matrix, returns a column vector of converted | 30 ## If @var{s} is a string matrix, returns a column vector of converted |
31 ## numbers, one per row of @var{s}. Invalid rows evaluate to NaN. | 31 ## numbers, one per row of @var{s}. Invalid rows evaluate to NaN. |
32 ## @seealso{dec2hex, base2dec, dec2base, bin2dec, dec2bin} | |
32 ## @end deftypefn | 33 ## @end deftypefn |
33 ## | |
34 ## @seealso{dec2hex, base2dec, dec2base, bin2dec, dec2bin} | |
35 | 34 |
36 ## Author: Daniel Calvelo <dcalvelo@yahoo.com> | 35 ## Author: Daniel Calvelo <dcalvelo@yahoo.com> |
37 ## Adapted-by: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> | 36 ## Adapted-by: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
38 | 37 |
39 function d = bin2dec (h) | 38 function d = bin2dec (h) |