POSITIVE random numbers generation from object distributions
조회 수: 4 (최근 30일)
이전 댓글 표시
can I select only positive random numbers from a distribution? Even considering this distribution may have negative numbers in it
댓글 수: 2
dpb
2015년 10월 20일
Not a priori, no. You can reject elements returned either with resample or not (you code, not builtin functionality). But, of course, when you do that the result is no longer the same distribution as the parent.
답변 (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!