matlab

A mistake in my False discovery rate (FDR) correction…

I have posted an FDR script at https://www.alivelearn.net/?p=1840. I noticed that there is a small bug. In rare cases, this bug will cause the...
Xu Cui
37 sec read

MatLab tip, save data in compressed mode

I have a mat file which is 100+M in size. It would be fine normally but since I was trying to upload it to...
Xu Cui
31 sec read

Some tips to use wavelet toolbox

Wavelet toolbox is a useful tool to study hyperscanning data. Many recent publications on NIRS hyperscanning use wavelet coherence to quantify the relationship between...
Xu Cui
55 sec read

Projection of a NIRS channel on a brain surface

When analyzing the data in our concurrent NIRS-fMRI study, we are particularly interested in how the NIRS signals were correlated to the fMRI signal....
Xu Cui
35 sec read

T value of a single subject

I usually report a group-level T-test image in the final publications or presentations. But in the early stage of a project when only one...
Xu Cui
1 min read

Finger tapping task MatLab script

Finger tapping is probably the most used task in brain imaging studies (fMRI and NIRS). The task is simple and elicits robust brain signal...
Xu Cui
22 sec read

xjView 8.13 released. Allow to change the minimum of…

xjView 8.14 just released. Download link: https://www.alivelearn.net/xjview xjView 8.13 is released with the following new features: Allow to change the minimum value of the...
Xu Cui
20 sec read

NIRS hyperscanning data analysis (4) coherence analysis

NIRS hyperscanning data analysis (1) NIRS hyperscanning data analysis (2) NIRS hyperscanning data analysis (3) NIRS hyperscanning data analysis (4) How do we analyze...
Xu Cui
1 min read

How to label each point in MatLab plot?

How to label each data point in a MatLab plot, like the following figure? MatLab code: x = ; y = x + rand(1,10);...
Xu Cui
18 sec read

SVM regression on time series, is there a lag?

It would be nice if we can predict the future. For example, give the following time series, can we predict the next point? Let’s...
Xu Cui
1 min read