Wednesday, July 31, 2013
Monday, July 22, 2013
Matlab Keyboard function
keyboard function is useful for debugging purposes. It stops execution of m file and allows user to watch and manipulate variables.
Thursday, July 18, 2013
Reset Random Number Genaration of Matlab
reset(RandStream.getDefaultStream,sum(100*clock))
http://www.mathworks.com/support/solutions/en/data/1-18WH6/
http://www.mathworks.com/support/solutions/en/data/1-18WH6/
Wednesday, July 10, 2013
Matlab Jit Acceleration
- Avoid sparse matrices
- Avoid static variables
- Vectorize the code
- Use scalar values in range of for loops
- Only call built in functions in for loops
- http://www.ee.columbia.edu/~marios/matlab/accel_matlab.pdf
Monday, July 01, 2013
Moving file to folder in HG versioning system
Just copy files into desired directory. Go into that directory and right click. Go to hg->guess renames. Rest is straightforward.
http://kiln.stackexchange.com/questions/1943/moving-a-file-in-a-repository
http://kiln.stackexchange.com/questions/1943/moving-a-file-in-a-repository
Semi Turing Test
A loosely definition for semi-Turing test is whether a human is capable to understand an output from human and output from computer aided human. For example If I am using spell checker , how someone can understand that I am doing so. It requires much more effort to distinguish.
Subscribe to:
Posts (Atom)
Be human
The biggest mistake repeated throughout history has always been people in power thinking they have the right to harm the innocent for what t...