Introduction to Matlab: Psychobiology

Course #205-1-9512
Sundays 12:00-14:00, Room 401, Bldg #35

This course is intended to give undergraduate students a solid foundation in using Matlab for research purposes. After learning the basics of writing code in Matlab, the course will focus on building simple experiments and performing simple analyses of behavioral, MRI and EEG data. The course is taught in a computer lab and students without previous experience are expected to spend 1-2 hours every week performing exercises at home. The grade will be based on 10 assignments that will be handed in during the semester (each will account for 2% of the final grade) and a final exam that will account for 80% of the grade.

Attendance in 80% of the classes and lab sessions is obligatory.
Except for class, students will sign up for one of the following lab sessions:
1. Monday 10-12, room 403, Building 35.
2. Wednesday 12-14, room 403, Building 35.
There are no scheduled office hours. If you need help, please contact the TAs by email: biopsychmatlab@gmail.com
Instructions for how to hand in your homework assignments can be found here.

A good way to learn the basics is by following this guide written by Prof. Antonia Hamilton from UCL – PDF

Lesson 1: Basics, vectors, matrices, punctuation, and indexing – Class files

Lesson 2: Basic math, logical operators, basic functions, and basic graphs – Class files

Lesson 3: Basic scripting and flow control – Class files

Lesson 4: Functions and structures – Class files

Lesson 5: Figures – Class files

Lesson 6: Handling files, importing, and exporting – Class files

Lesson 7: Manipulating Images – Class files

Lesson 8: Building a visual experiment – Class files

Lesson 9: Analyzing behavioral data from visual experiment – Class files

Lesson 10: Basic EEG analysis – Class files

Lesson 11: Visual categories EEG experiment – Class files

Lesson 12: Visual motion fMRI experiment - In the Moodle website