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!