Skip to content

Instantly share code, notes, and snippets.

Created February 19, 2016 21:08
What would you like to do?
function myOutput = my_simulation_function2(myMean, myVariance, myLength)
% Sample function that saves output to a custom file.
myOutput = myMean + sqrt(myVariance)*randn(1,myLength);
save(['my_simulation_output_mean_' num2str(myMean) '_var_' num2str(myVariance) '_length_' num2str(myLength)]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment