Community Profile

photo

Jesus Paniagua


Active since 2015

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to create a random binary matrix whose elements sum a specified number?
Hello I am new in Matlab, I habe generated the following random 0-1 matrix: >> C=randi([0,1],5,3) C = 1 0 ...

8 years ago | 0 answers | 0

0

answers

Question


How can I get a random 0-1 matrix whose elements sum is equal to a defined number?
Hello I am new in Matlab, I habe generated the following random 0-1 matrix: >> C=randi([0,1],5,3) C = 1 ...

8 years ago | 1 answer | 1

1

answer