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) X = 0. 9. 16. 25. 32. 41. 48. 0. 8. 18. 25. 34. 41. 50. 0. 8. 17. 24. 33. 40. 49. 0. 10. 17. 26. 33. 42. 49. 0. 7. 16. 23. 32. 39. 48.