Skip to content

Instantly share code, notes, and snippets.

@4u9u5tsong
Last active August 29, 2015 14:09
Show Gist options
  • Save 4u9u5tsong/6b84a81bdb50ae257826 to your computer and use it in GitHub Desktop.
Save 4u9u5tsong/6b84a81bdb50ae257826 to your computer and use it in GitHub Desktop.
matlab gists
* command line call
matlabc -nodesktop -nosplash -r "matlabpool 12;benchname = '$bench'; function_name ; quit"
* normcdf and precision
p = normcdf([256-56 256+56],256, sqrt(128));vpa(p(2)-p(1))
for k=50:56; p = normcdf([256-k 256+k],256, sqrt(128));display(vpa(p(2)-p(1))); end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment