randinrc

バージョン 1.0.2 (2.19 KB) 作成者: Bruno Luong
randi with non-repeat constraint.
ダウンロード: 3
更新 2023/8/4

ライセンスの表示

randinrc returns a pseudo random (n x m) array R such that
  • R contains integers in (1:range)
  • for each column Rj = R(:,j) two elements of Rj that has the same value are separated by at least minstep in their positions
Optionally drawing with and without replacement cen be specified by user

引用

Bruno Luong (2024). randinrc (https://www.mathworks.com/matlabcentral/fileexchange/133192-randinrc), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2023a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.2

Slightly faster using FIFO

1.0.1

Add example in the H1 line

1.0.0