Xu Cui
•
564 Stories by Xu Cui
In case you need to visualize your time series in both time and frequency domain (or just frequency domain), you can use the wt (wavelet transform) function in the Cross Wavelet and Wavelet Coherence toolbox by Grinsted et al. I often find the color
Sometimes you wish to know the spectrum of a time series. plotFFT is a handy function for this purpose. You instantly know the power of the signal at each frequency. Here is an example on how to use this function: figure; plotFFT(randn(1,1000)); Sour
Often you need to view the spatial pattern of activation as in the example below. plotTopoMap allows you to do that. It probably only works for Hitachi devices where the spatial relationship between channels are known. In the above example, the activ
You often need to plot the time series of NIRS signal from all channels with event indicators (See the example below). plotTraces can do that easily. In the above example, time series of all 24 channels are plotted. The number on the y-axis indicates
Quite often you need to call external or system commands inside MatLab. If those external commands are not in path, you need to add them. Here is how: setenv('PATH', );
I use SPM’s dicom import function to convert DICOM files to Analyze files. But it’s quite inconvenient if I have 20 subjects. Below is a script to do this conversion automatically. You can call this function inside a loop. function dicom2
The 3rd PKU Bio-Net Annual Conference will be held on July 16th 2011, at Columbia University, New York City. This is a reunion for alumni of PKU School of Life Sciences (former Department of Biology) and other PKU alumni working in life science-relat
Arthur and Bert each writes down a positive integer on a piece of paper and then shows it to Charles. Charles then writes two numbers on a blackboard, visible to Arthur and Bert: one of them is the sum of Arthur’s and Bert’s numbers, and
突然间咆哮体火起来,网上还有个咆哮体生成器(http://lifeis.ws/paoxiao.htm)。我把推荐peaya的帖子生产了一下,果真给力。如下: 尼玛文献这件事其实挺烦人的啊啊啊!!! 但