bin2dec
Convert number in base 2 to decimal.
Syntax
D = bin2dec(TXT)
Input argument
TXT - a char array.
Output argument
D - result of bin2dec: an integer value.
Description
bin2dec converts number in base 2 to decimal.
Note:
- bin2dec and dec2bin are inverses of one another.
Example
See also
History
Author
Allan CORNET
Last updated