Skip to content

Instantly share code, notes, and snippets.

@adamjgnoel
Last active February 19, 2016 20:43
Embed
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