How do I truncate a normally distributed random variable?
古いコメントを表示
I have a random variable 'y' that follows the normal distribution. For example:
x = -4:0.1:4;
y = normpdf(x);
I need to create another vector consisting of elements of 'y' truncated at a certain point, how do I do that?
採用された回答
その他の回答 (1 件)
Torsten
2017 年 7 月 11 日
0 投票
https://de.mathworks.com/help/stats/prob.truncatabledistribution.truncate.html
Best wishes
Torsten.
カテゴリ
ヘルプ センター および File Exchange で Binomial Distribution についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!