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!