generatenon-repeated random columns in 3 row

how can i generate 10 non repeated columns in 3 row? with mod of 57.
the present coding is like this:
a=100;
random=randi(a,3,10);
balance=mod(random,57)

 Accepted Answer

Hint: unique(balance, 'rows', 'stable')

More Answers (0)

Categories

Find more on Random Number Generation 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!