How to formulate the random matrix between real interval?

조회 수: 1 (최근 30일)
Daniel Mbadjoun
Daniel Mbadjoun 2019년 6월 7일
댓글: Daniel Mbadjoun 2019년 6월 7일
I try this formulation r = randi([0.10 0.50],5,5) but Matlab refuse this. Please help me with good formulation

채택된 답변

James Tursa
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 CenterFile Exchange에서 Random Number Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by