Skip to content

Instantly share code, notes, and snippets.

@adamjgnoel
Last active February 19, 2016 20:43
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save adamjgnoel/ace25b67a831aef2969f to your computer and use it in GitHub Desktop.
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