powered by
Useful when try to list all the binary patterns. One can group the binary sequences according to their equivalent decimal values.
bin2dec(binary_vector)
a decimal number
a binary number
bin2dec(c(1,0,1))
Run the code above in your browser using DataLab