Creating two random matrices
显示 更早的评论
Hi. I have 2 matrices. M1(4,6) and M2(4,2). The generation of the two matrices is random. Attached you can find an explanation of the constraints. How can I formulate that with an ILP? Thanks

4 个评论
Image Analyst
2016-11-8
What is an "ILP" - I don't know that acronym, unless it's an Individualized Learning Plan.
loukil sana
2016-11-8
James Tursa
2016-11-8
Does this mean the individual entries in M1 and M2 need to be integers?
loukil sana
2016-11-8
采纳的回答
更多回答(1 个)
Image Analyst
2016-11-8
0 个投票
Try Roger Stafford's utility: http://www.mathworks.com/matlabcentral/fileexchange/9700-random-vectors-with-fixed-sum
类别
在 帮助中心 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!