Psych 254: Computer Methods for Experimental Psychology
Psychology 254: Computing Methods for Psychology
Fall Quarter 2007: Tuesdays, 2-4:50 PM, Franz Hall room A258
Professor: Russ Poldrack, Franz Hall 6639
Syllabus (pdf)
Lectures:
- Lecture 1 - Introduction to programming
- Lecture 2 - Programming constructs
- Lecture 3 - Variable types, functions, debugging
- Lecture 4 - Random numbers, system interaction
- Lecture 5 - Data analysis and signal detection theory
- Lecture 6 - Modeling
- Lecture 7 - Neural networks
- Lecture 8 - Stimulus presentation and psychophysics
- Lecture 9 - fMRI data analysis
Example code:
Exercises:
- Exercise 1 - Working with variables and matrices
- Exercise 2 - Looping, reading data
- Exercise 3 - sorting functions
- Exercise 4 - random numbers
- Exercise 5 - Data analysis and signal detection theory
- problem 1 example solution:
- problem 2 example solution
- Exercise 6 - Modeling
- Necessary functions:
- Exercise 7 - Neural networks
- Necessary functions:
- Exercise 8 - Psychophysics
- Necessary functions (if stats toolbox is not present):
Note: all of the non-standard MATLAB files necessary to run the exercises are in:
MATHWORKS resources:
Learning MATLAB (pdf) - this covers
much of the same ground as the MATLAB Getting started page, in case you
want a pdf version. It also includes lots of information about
installation that you don't need.
Web Resources:
MATLAB's
Getting Started pageMatrix algebra tutorial
Linear algebra video course - Gilbert Strang's Linear Algebra course from MIT (requires RealAudio player)
Successful strategies for commenting code - not specific to MATLAB, but a nice guide to commenting your code
Various MATLAB tutorials:
Mathtools.net Tutorial List - a good place to start
Inessential MATLAB - a substantial tutorial, includes info on debugging
Debugging MATLAB m-files - a nice tutorial on using the interactive debugger
Organizing
and debugging MATLAB code (pdf) - a useful tutorial on good programming
practice
There are a number of home-grown matlab tutorials on the web - here are a few:
http://www.contracosta.cc.ca.us/math/LMATLAB.HTM
http://sun00.rowan.edu/~shreek/networks1/matlabintro.html
http://spicerack.sr.unh.edu/~mathadm/tutorial/software/matlab/
http://www.engin.umich.edu/group/ctm/basic/basic.html
Russ Poldrack
1/9/06

