POSITIVE random numbers generation from object distributions
1 回表示 (過去 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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!