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
When I was a student in Baylor College of Medicine, I spent most of my time in front of computers analyzing data. One day I noticed that a few fellow students and postdocs, as well as our advisor, are discussing something. I moved closer and found th
When I search google or browsing blogs, I often need to click “next page” to go to the next page. This Chrome extension by Wend Li will automatically load the next page: https://chrome.google.com/webstore/detail/autopager-chrome/mmgagnmbe
I am using a Canon Scanner (CanoScan LiDE 60). It has been working fine but it stopped working today with error message: Unable to open TWAIN source Here is how to fix it: Check if you have the following folder: C:\Windows\twain_32\CNQL60 If not, go
In my previous blog (https://www.alivelearn.net/?p=1426) and in our paper titled “NIRS-based hyperscanning reveals increased interpersonal coherence in superior frontal cortex during cooperation” (full text pdf available ), we have shown
The default format of output in MatLab is like below: v = 1.0e+003 * 9.0579 1.2699 9.1338 6.3236 0.9754 What if you want the format to be v = 9057.9 1269.9 9133.8 6323.6 975.4 The answer is simple. Run the following command in MatLab: format shortg