powered by
binary representation of x (an element from 1 to m) with m components
bin(x, m)
a vector with elements 1 and 0
a positive integer less than or equal to m
number of components, a positive integer
bin(x = 2, m = 4);
Run the code above in your browser using DataLab