<< MaxPlusAndPetrinet MaxPlusAndPetrinet boundedplace >>

MaxPlusAndPetrinet >> MaxPlusAndPetrinet > binfact

binfact

Max-plus algebra binary factorization

Calling Sequence

[f] = binfact(a)

Parameters

a
: A scalar of nonnegative integer
f

: Vector of nonnegative integer

Description

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

"Max-Plus Algebra And Petrinet Toolbox", ver. 1.1.0, February, 2013.

See Also


Report an issue
<< MaxPlusAndPetrinet MaxPlusAndPetrinet boundedplace >>