unrepeated integers from randi function
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
for the randi function for example
randi([2,6],1,4)
this basically creates 4 random integers from 2 to 6
eg. 2, 5,4,2
how can i do the same but generating unrepeated integers?
in the example the integer 2 is repeated twice and i dont want that for a randi function of a large range
0 件のコメント
回答 (1 件)
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!