matlab

xjView Tutorial Videos

FDR function, English version FDR function, Chinese version 普通话 Mandarin FDR function, Chinese version 河南话
Xu Cui
2 sec read

Tower of sqrt(2)

What is the limit of this infinite exponential? Solution 1: $$x=\sqrt{2}^x$$ This leads to x=2 or 4 Solution 2: $$x=^x$$ This leads to x...
Xu Cui
14 sec read

saveppt2, save MatLab figures to PowerPoint

I find saveppt2 is very useful in data exploration. I often have to view a lot of plots/figures for individual subjects during quality checking...
Xu Cui
17 sec read

Winner take all in SVM?

updated: 2010/01/05, add plot of original data Assume our data contains two features and they are highly correlated (say, r>0.9). The 1st feature does...
Xu Cui
1 min read

MatLab and Excel

I usually write MatLab scripts to parse the behavior data collected in a fMRI or NIRS experiment. It’s powerful and flexible. But as I...
Xu Cui
21 sec read

SVM (support vector machine) with libsvm

I am learning svm lately and tried libsvm. It’s a good package. Linear kernel example (support vectors are in circles): Nonlinear example (radial basis)...
Xu Cui
1 min read

Sensitivity, specificity, ROC, AUC …

You can’t believe how much jargon there is in binary classification. Just remember the following diagram (from wiki). accuracy = ( TP + TN...
Xu Cui
1 min read

NIRS data analysis (time series)

Also check out NIRS data analysis (GLM and visualization) Environment requirement MatLab SPM xTopo under xjView xjview is located in /fs/fmrihome/fMRItools/Xjview...
Xu Cui
1 min read

NIRS data analysis (GLM and visualization)

Also check out NIRS data analysis (time series) Environment requirement MatLab SPM 5 or 8 xjView 8 xjview can be downloaded...
Xu Cui
3 min read

Tips for writing faster MatLab programs

Avoid using explicit loop if possible %calculating the sum of the product of corresponding element in two row vectors A and B %bad...
Xu Cui
16 sec read