I ma having matrix A=[
44 0 0;
0 57 0;
0 1 48]
The sum(A) is 150.
Could anyone please help me how to make the matrix such that sum of each row of the matrix be 50 under the condition the diagonal of the matrix should contain the maximum number greater than 45 and the rest of the place can have the number ranging from 1 to 5.
2 Comments
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/507169-could-anyone-help-me-to-solve-the-issue-in-the-following-matrix#comment_801339
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/507169-could-anyone-help-me-to-solve-the-issue-in-the-following-matrix#comment_801339
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/507169-could-anyone-help-me-to-solve-the-issue-in-the-following-matrix#comment_801340
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/507169-could-anyone-help-me-to-solve-the-issue-in-the-following-matrix#comment_801340
Sign in to comment.