Skip to content

Instantly share code, notes, and snippets.

@adamjgnoel

adamjgnoel/my_simulation.m

Last active Feb 19, 2016
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
You can’t perform that action at this time.