Xu Cui
•
563 Stories by Xu Cui
Let’s say we have three tables: user, paper, userPaperRelation. user has columns id and username paper has column id and title userPaperRelation has columns userID and paperID. userID corresponds to the id in user table; paperID corresponds to
/fs/quarry/cuixu/fsl/fslmerge -t f I_???.* On my computer, it doesn’t convert to .nii file; but to a single img/hdr pair. This method won’t be used. Instead, I use freesurfer’s mri_concat now. See here.
http://www.tuxfiles.org/linuxhelp/vimcheat.html Author: Nana Långstedt < nana.langstedt at gmail.com > Working with files Vim command Action :e filename Open a new file. You can use the Tab key for automatic file name completion, just li
I use jsMath to write mathematical equations in this blog. Here is an example This is inline equation (use slash parenthesis): \(\alpha+\beta\geq\gamma=\pi\) This is one line equation (use double dollar sign \$\$…\$\$): $$\int {1\over x}\,dx =
When there is keyboard input, the command window of MatLab will gain focus and all its figure windows will be hiden back. How to make a figure window always on top? I use setWindowOnTop.m downloaded from http://webscripts.softpedia.com/script/Develop
We need to get real-time neural signal from Hitachi’s ETG4000. Hitachi provides a MatLab script “RealtimeOT” to get data from a parallel port and convert the binary data to float. Here is what they did: fp=fopen('temp',
The code highlighter used in this blog is SyntaxHighlighter Plus. It’s quite easy to set it up. (1) download and unzip to wp-content/plugins (2) activate it. Note: css style for SyntaxHighlighter is shlfiles/SyntaxHighlighter.css under this plu
/** * Life is learning * So, */ while(alive) { learn; }
Return to table of contents