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!