MATLAB: Using randn within an interval

boundsintervalrandnrandom normal

Hey Does anyone know of a way to create an mxn matrix of random normals where each entry is within an particular bound. For example each entry is a random normal greater than -1 but less than 2. Thanks

Best Answer

a priori bounded numbers never have normal distribution. normal distributions always have infinite tails in both directions.
When people ask this question, the common suggestion is to use a beta distribution instead.
Related Question