introduction to matlab for neuroimaging...desktop\fmri_course_2019 module 1 copy/paste between...

7
Introduction to MATLAB for Neuroimaging KRISANNE LITINAS UM FMRI LABORATORY

Upload: others

Post on 20-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to MATLAB for Neuroimaging...Desktop\fMRI_Course_2019 Module 1 Copy/Paste between webpage and MATLAB interface Think about the exercise and ask many questions! Read documentation

Introduction to MATLAB for NeuroimagingKRISANNE LITINASUM FMRI LABORATORY

Page 2: Introduction to MATLAB for Neuroimaging...Desktop\fMRI_Course_2019 Module 1 Copy/Paste between webpage and MATLAB interface Think about the exercise and ask many questions! Read documentation

Goals

Become familiar with the MATLAB interface Learn some new programming skills Learn how to make simple simulations of BOLD signals Understand how fMRI data are stored and manipulated Dive into the General Linear Model

Page 3: Introduction to MATLAB for Neuroimaging...Desktop\fMRI_Course_2019 Module 1 Copy/Paste between webpage and MATLAB interface Think about the exercise and ask many questions! Read documentation

Why MATLAB?

Need to manipulate data at lower level Quick and easy – no compiling required Ability to do analysis and generate statistics Many useful built-in functions (math, statistics) Powerful debugging tools Offers several options to visualize data Can be used to make data analysis very efficient (automation,

batches) Take advantage of popular image processing packages (e.g. SPM)

Page 4: Introduction to MATLAB for Neuroimaging...Desktop\fMRI_Course_2019 Module 1 Copy/Paste between webpage and MATLAB interface Think about the exercise and ask many questions! Read documentation

About Programming

Wide range of experience in this class Computers are not smart Frustration The learning curve Worth the effort

Page 5: Introduction to MATLAB for Neuroimaging...Desktop\fMRI_Course_2019 Module 1 Copy/Paste between webpage and MATLAB interface Think about the exercise and ask many questions! Read documentation

Module 1: MATLAB Introduction

Let’s see it.

Page 6: Introduction to MATLAB for Neuroimaging...Desktop\fMRI_Course_2019 Module 1 Copy/Paste between webpage and MATLAB interface Think about the exercise and ask many questions! Read documentation

Topics To Be Covered

Setting up the path Variables and operators Scripts Functions Loops Conditional statements

Page 7: Introduction to MATLAB for Neuroimaging...Desktop\fMRI_Course_2019 Module 1 Copy/Paste between webpage and MATLAB interface Think about the exercise and ask many questions! Read documentation

Lab Exercise

Follow instructions: Desktop\fMRI_Course_2019 Module 1

Copy/Paste between webpage and MATLAB interface Think about the exercise and ask many questions! Read documentation Sign the sheet as you leave