Max-plus algebra evolusi system x(k+1)=A⊗x(k), k = 0,1,2 3,⋯
[X] = maxplussys(A,x0,q)
This function returns X, that equals
[ x(0) x(1) x(2) ⋯ x(q) ]
that satisfy x(k+1)=A⊗x(k), k=0,1,2,3,⋯
A = [2. -%inf 8. 2. 9.; 6. -%inf -%inf 8. 8.; 8. -%inf 6. 1. 5.; 0. 2. 5. 3. 10.; 7. 4. -%inf -%inf 6.]; x0 =[0;0;0;0;0]; p=6; [X]=maxplussys(A,x0,p)