Community Profile

photo

Lotanna Ohazuruike


Last seen: 11 maanden ago Active since 2021

Followers: 0   Following: 0

Statistics

  • First Review
  • First Answer
  • Explorer

View badges

Feeds

View by

Answered
How can I create a random binary matrix with a specified number of 1's and 0's?
Here's a neat trick I use. r4 = rand(15,15); % generates uniformly distributed random number 15x15 array r4(r4>0.3) = 1; ...

ongeveer 3 jaar ago | 1