OCTAVE
::
BIN2DEC
Function:
bin2dec
( S )
return the decimal number corresponding to the binary number
represented by string S.
Example
octave:1> bin2dec("1110") ans = 14 octave:2> quit
OCTAVE
::
BIN2DEC