The RANDN function only generates normal variables with a mean of zero and a variance of one. I would like to use it to generate normal variables with mean and variance equal to some values I choose.
MATLAB: How to obtain samples from a normal distribution (Gaussian) where the distribution has a chosen mean and variance
gaussgaussianMATLABmeannormalrandomvariance
Best Answer