how to make a matrix elements randomly distributed
Show older comments
how to make a matrix m elements, which has n elements "one" or #0, randomly distributed, the remaining elements are zero (n<m).
Accepted Answer
More Answers (1)
Pham Ngoc Thanh
on 21 Jun 2013
0 votes
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!