Skip to content

Instantly share code, notes, and snippets.

@adamjgnoel
Created February 19, 2016 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamjgnoel/64b911050e1cd8214652 to your computer and use it in GitHub Desktop.
Save adamjgnoel/64b911050e1cd8214652 to your computer and use it in GitHub Desktop.
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