By what I can replace randint() function.
4 ビュー (過去 30 日間)
古いコメントを表示
Here is a randint function, i am not having communication toolbox. How i can rewrite this statement. k = randint(1,1,10)+5;
0 件のコメント
採用された回答
その他の回答 (1 件)
Steven Lord
2018 年 9 月 20 日
randi([5, 14], [1 1])
since randint(1, 1, 10) created a number in the range [0, 9].
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!