matlab

nirs2img, create an image file from NIRS data

I was asked where to get nirs2img script. Here it is. The download link is at the bottom of this article. nirs2img is to...
Xu Cui
51 sec read

mergefile.m – a MatLab script to merge CSV files

My wife asked me to write a script to merge some csv files she has. Usually this can be accomplished by a simple command in...
Xu Cui
35 sec read

xjview 9.6 released

In this version, we modified the templates for 3-D render view and use a high-resolution template. It also includes a few scalp view. You...
Xu Cui
31 sec read

Matlab figure disappears in multiple monitor setup

I have multiple monitors attached to my laptop. Whenever I want to create a new figure in MatLab, the main screen seems to flash...
Xu Cui
25 sec read

Hyperscanning experiment file (matlab)

Below is the experiment script (in MatLab) for our hyperscanning project (“NIRS-based hyperscanning reveals increased interpersonal coherence in superior frontal cortex during cooperation.”). For...
Xu Cui
10 sec read

We contributed to MatLab (wavelet toolbox)

We use MatLab a lot! It’s the major program for brain imaging data analysis in our lab. However, I never thought we could actually...
Xu Cui
2 min read

Communications between two MatLabs (2): over socket

After the previous blog post Communications between two MatLabs (1) over file, Aaron Piccirilli in our lab suggested a more efficient way to communicate between...
Xu Cui
1 min read

Communications between two MatLabs (1) over file

Ref to: Communications between two MatLabs (2): over socket It’s common that two MatLab programs needs to communicate. For instance, one program is collecting...
Xu Cui
1 min read

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