How do I truncate a normally distributed random variable?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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?
0 Commenti
Risposta accettata
Più risposte (1)
Torsten
il 11 Lug 2017
https://de.mathworks.com/help/stats/prob.truncatabledistribution.truncate.html
Best wishes
Torsten.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!