Assigning elements for a matrix.
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!