Skip to content

Instantly share code, notes, and snippets.

Last active Feb 19, 2016
What would you like to do?
myMean = 2; % RV mean
myVariance = 3; % RV variance
myLength = 100; % Length of random vector
myOutput = myMean + sqrt(myVariance)*randn(1,myLength);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment