This function returns vector f. This vector is nonzero binary
indices of the input, that is denoted by a. This function is used in
maxpluspwr and maxpluspwrbig.
Examples
f=binfact(100)// This means 100 = 2^2 + 2^5 + 2^6
Authors
Subiono
Dieky Adzkiya
"Max-Plus Algebra And Petrinet Toolbox", ver. 1.1.0, February, 2013.