OCTAVE
::
DEC2BIN
Function:
dec2bin
( N )
Return the binary number corresponding the decimal number N,
as a string of ones and zeros.
Example
octave:1> bin2dec( 14 ) ans = "1110" octave:2> quit
OCTAVE
::
DEC2BIN