Programming Behavioral Experiments with MATLAB and Psychtoolbox: 9 Simple Steps for Students and Researchers
- Length: 80 pages
- Edition: 1
- Language: English
- Publisher: Routledge
- Publication Date: 2017-01-14
- ISBN-10: 1138671932
- ISBN-13: 9781138671935
- Sales Rank: #1484999 (See Top 100 Books)
Human behavior is fascinating so it’s no surprise that psychologists and neuroscientists spend their lives designing rigorous experiments to understand it. MATLAB is one of the most widely used pieces of software for designing and running behavioral experiments, and it opens up a world of quick and flexible experiment programming.
This book offers a step-by-step guide to using MATLAB with Psychtoolbox to create customisable experiments. Its pocket size and simple language allow you to get straight to the point and help you to learn fast in order to complete your work in great time. In nine simple steps, it guides you all the way from setting parameters for your experiment to analysing the output. Gone are the daunting days of working through hundreds of irrelevant and complicated documents, as in this handy book, Erman Misirlisoy coaxes you in the right direction with his friendly and encouraging tricks and tips.
If you want to learn how to develop your own experiments to collect and analyse behavioral data, then this book is a must-read. Whether you are a student in experimental psychology, a researcher in cognitive neuroscience, or simply someone who wants to run behavioral tasks on your friends for fun, this book will offer you the skills to succeed.
Table of Contents
Step 0 Preliminary notes
Step 1 Initialisation
Step 2 Setting parameters and opening up variables to store experimental conditions and data
Step 3 Executing for loops to iterate through trials
Step 4 Using if statements to define trials and present stimuli
Step 5 Presenting stimuli and recording responses
Step 6 Saving data
Step 7 Debugging, optimisation and functions
Step 8 Testing and ‘sanity checks’ on data
Step 9 The basics of data analysis