# Using MATLAB in Experimental Psychology

## Using MATLAB in Experimental Psychology

Instructor: Peter Peyk

First meeting:
Tuesday, 13th December 2011, 8:15-11:45 hrs.
seminar room 0.01, building A4 3
(Praktikumgebäude of the Dept. of Biology)

Second meeting:
Tuesday, 10th January 2012, 8:15-11:45 hrs.
seminar room 0.01, building A4 3
(Praktikumgebäude of the Dept. of Biology)

Third meeting:
Tuesday, 24th January 2012, 8:15-11:45 hrs.
seminar room 0.01, building A4 3
(Praktikumgebäude of the Dept. of Biology)

Fourth meeting:
Tuesday, 7th February 2012, 8:15-11:45 hrs.
Room: N.N.

Evtl. fifth meeting:
Tuesday, 28th February 2012, 8:15-11:45 hrs.
Room: N.N.

Contents of the course:

•  PREPARATION: THE BASICS

Matrices and punctuation, indexing, data
manipulation, basic maths, basic functions,
logical operators, missing data, logical indexing

•  SESSION 1: GRAPHS, SCRIPTS AND LOADING DATA

basic line plots, basic scripts, flow control, functions,
structures and cells, advanced graphs, importing
data into matlab

•  SESSION 2: PSYCHOPHYSIOLOGICAL GRAPHS AND BASIC SIGNAL PROCESSING

plotting ERP data, plotting wavelet data, plotting MRI data,
digital filters, fast fourier transform,

•  SESSION 3: BATCH PROCESSING & ADVANCED PROGRAMMING

files & directories, batch processing, debugging, optimizing performance,
creating graphical user interfaces

•  SESSION 4: N.N.

========================================================================
========================================================================
Preparation: ========================================================================
========================================================================

Please first watch these two videos:

http://wwwklipsy.psychologie.uni-saarland.de/FTP/GettingStartedwithMATLAB.swf
http://www.mathworks.de/support/2009b/matlab/7.9/demos/WorkingInTheDevelopmentEnvironment.html

Then, work through lessons 1 to 7 in the tutorial you received from Peter Peyk and do the associated excercises A-D.

Finally, you may want to watch these additional videos, but we will also cover
these thing in the course, so it's really up to you :-)
http://www.mathworks.de/support/2009b/matlab/7.9/demos/WritingAMATLABProgram.html
http://www.mathworks.de/support/2009b/matlab/7.9/demos/importing-data-from-files-matlab-video.html
http://www.mathworks.de/support/2009b/matlab/7.9/demos/using-basic-plotting-commands.html
http://www.mathworks.de/support/2009b/matlab/7.9/demos/working-with-arrays-matlab-video.html

========================================================================
========================================================================