This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* timeout command | |
kill the command after some specified time, to set a hard time limit for the executed command. | |
man timeout to read more. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* combine pdfs | |
pdfunite *.pdf all.pdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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 |
NewerOlder