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?
normal distributiontruncation
x = -4:0.1:4;y = normpdf(x);
Best Answer