Max-plus algebra multiplication
[X] = maxplusotimes(A,B)
Multiplication of two matrices in maxplus algebra with appropriate size.
This function returns Xi,j= ⊕kai,k⊗bk,j = maxk {ai,k+ bk,j}.
If A or B is a scalar then: X = A + B.
A = [1 2;3 4]; B = [2 3;5 7]; X = maxplusotimes(A,B) X = 7. 9. 9. 11. X = maxplusotimes(10,B) X = 12. 13. 15. 17.