Truncated gaussian in matlab

The following Matlab project contains the source code and Matlab examples used for truncated gaussian. % function X = TruncatedGaussian(sigma, range) % X = TruncatedGaussian(sigma, range, n) Generate a pseudo-random vector X of size n, X are drawn from the truncated Gaussian distribution in a RANGE braket; and satisfies std(X)=sigma.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1311
TruncatedGaussian.m 6804

SocialTags: