Mercurial > octave-antonio
comparison scripts/strings/bin2dec.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 | 4c8a2e4e0717 |
comparison
equal
deleted
inserted
replaced
3790:1e0d844b8f54 | 3791:c1c532a0acb2 |
---|---|
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 ## @end deftypefn | 32 ## @end deftypefn |
33 ## | 33 ## |
34 ## @seealso{dec2hex, base2dec, dec2base, bin2dec, dec2bin} | 34 ## @seealso{dec2hex, base2dec, dec2base, 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 d = bin2dec (h) | 39 function d = bin2dec (h) |
40 | 40 |
41 if (nargin != 1) | 41 if (nargin != 1) |