This series of walkthroughs is designed to illustrate the principles of fMRI acquisition, design, and analysis. They use the CANlab Core interactive analysis tools. Code to run each walkthrough is included in the CANlab Core toolbox, and datasets are included or downloaded from Neurovault. See the main CANlab intro page for more on the philosophy behind the interactive analysis approach.
This is not a comprehensive introduction to Matlab. It’s assumed that you will use other resources to supplement your basic understanding how to work with Matlab, including:
- Matlab’s comprehensive built-in examples (type “doc” within Matlab)
- Function help (type “help my_fun”, where my_fun is the name of a function)
- Matlab Academy (free!), including the “Matlab Onramp” module and others)
- Other great resources, e.g., Michael X. Cohen’s YouTube lectures and Matlab book
These are didactic tutorials using Matlab live scripts. There is also a complementary set of code walkthroughs on using the CANlab object-oriented tools, with some overlap but unique information and code examples.
|Basic signal processing|
|1.1. T1 decay and basic Matlab orientation||Download Matlab Live Script|
|1.2. Sine waves and the Fourier Transform||Download Matlab Live Script|
|Second-level models with CANlab tools|
|Multivariate predictive models|
|3.1. SVM on unpaired data using predict()||Download Matlab Live Script|
|3.2. multivariate prediction with continuous outcomes|