Assigning elements for a matrix.
古いコメントを表示
Let us consider three matrix
A = [a11, a12, a13, a14; a21, a22, a23, a24; a31, a32, a33, a34]
B = [b11; b21; b31]
C = [c11, c12, c13, c14]
such that:
a11+a12+a13+a14<=b11
a21+a22+a23+a24<=b21
a31+a32+a33+a34<=b31
a11+a21+a31<=c11
a12+a22+a32<=c12
a13+a23+a33<=c13
a14+a24+a34<=c14
all a, b and c is a set of positive integers Value of elements of A is not known. What will be the code to create matrix A?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!