Community Profile

photo

nhagen


Active since 2015

Followers: 0   Following: 0

Statistics

All
  • First Answer
  • Quiz Master
  • Creator
  • Leader
  • ASEE Challenge Master
  • Tiles Challenge Master
  • Commenter
  • Promoter
  • Solver

View badges

Feeds

View by

Answered
how can i create matrix of zeros and ones (randomly) sucj that the maximum sum of each row and coloumn =5
Hi, this is a lazy way to do it but it's random and it works : mat=eye(5); mat=repmat(mat,5,5); mat=mat(randperm(25...

9 years ago | 0