How do I truncate a normally distributed random variable?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (1)
Torsten
le 11 Juil 2017
0 votes
https://de.mathworks.com/help/stats/prob.truncatabledistribution.truncate.html
Best wishes
Torsten.
1 commentaire
Yerzhigit Bapin
le 11 Juil 2017
Catégories
En savoir plus sur Univariate Discrete Distributions dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!