I am using a + b*rand() to create uniformly distributed variables between [a,b]. But I want to create the same with a specified mean and variance. Is there a way to do so in matlab?
MATLAB: Random numbers between a and b with specified mean and variance
random
Related Question
- Uniform distribution command for specific mean and standard deviation
- What is the difference between mvnrnd and normrnd
- How I write independent random numbers from a normal distribution, for example between (0,1)
- Generate poisson random number with a mean and standard deviation
- How to generate random number from cumulative distribution function (CDF) in Matlab
Best Answer