Can you find any pattern in the two signals, green and blue? The blue signal is the brain wave (measured by NIRS) of a person when he is pressing some buttons (the timing of button pressing is shown i
Wavelet transform coherence (WTC) is a method for analyzing the coherence and phase lag between two time series as a function of both time and frequency (Chang and Glover 2010). Here I played with it
SVM is mostly commonly used for binary classifications. But one branch of SVM, SVM regression or SVR, is able to fit a continuous function to data. This is particularly useful when the predicted varia
Update 2021/2/27: If you find griddata3 not working, try to change griddata3 to griddata. I was asked where to get nirs2img script. Here it is. The download link is at the bottom of this article. nirs2img is to create an image file from the input data. Then theimage file can be viewed by a
You can only read, but not write to, your external NTFS hard disk? Here is a solution: 1. Go to http://code.google.com/p/macfuse/ and download/install macfuse 2. Go to http://www.macupdate.com/info.php/id/24481/ntfs-3g and download/install ntfs-3g 3.
1. The smallest unique number The host asks each of a large number of participants to write down a positive integer. The person whose number is unique and smallest wins. If you were one of the participant, which number do you write? e.g. If the numbe
I use the following free programs to capture screen and edit the videos. CamStudio for screen capture. Output is AVI. Current version: 2.5 beta VirtualDub for editing (e.g. trimming unwanted frames). Output is AVI. WinFF for converting AVI to FLV. Al
By default, the debug error window are suppressed for an installed AIR application. Sometimes you may want to enable it (say to gather information from internal test users). Here is how: After installation, create an empty file “debug” in
Believe it or not, this is actually not trivial. Instead of getting text height from TextArea.textHeight, retrieving from TextArea.textField.textHeight works. Also note validateNow() before TextArea.textField.textHeight. <?xml version="1.0&qu