Max-plus algebra binary factorization
[f] = binfact(a)
This function return vector f. This vector is nonzero binary indices of the input, that is denoted by a. This function is used in maxpluspwr.
f = binfact(100) f = 2. 5. 6. // this means 100 = 2^2 + 2^5 + 2^6