How to formulate the random matrix between real interval?
조회 수: 1 (최근 30일)
이전 댓글 표시
I try this formulation r = randi([0.10 0.50],5,5) but Matlab refuse this. Please help me with good formulation
댓글 수: 0
채택된 답변
James Tursa
2019년 6월 7일
See the second example in the rand doc here, and use your endpoints of 0.10 and 0.50 instead of the example endpoints of -5 and 5.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Random Number Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!