## Week 1 : August 27

Introduction to Matlab, Variables, Numeric Types, Mathematical Operators, Logical Operations

__Readings__

Attaway Chapter 1

__Powerpoint Slides__

Week1.pdf

__In-Class MATLAB Code__

Week1.m

__Homework__

Homework1.pdf (due September 3rd)

__Homework Solution__

Homework1_Solution.m

__Further Readings__

Goldberg, D. (1991). What every computer scientist should know about floating-point arithmetic. *Computing Surveys*, Association for Computing Machinery, Inc. [link]

Wichman, F.A., & Hill, N.J. (2001). The psychometric function: I. Fitting, sampling, and goodness of fit. *Perception & Psychophysics*, 63, 1293-1313. [PDF]

## Week 2 : September 3

Strings, Arrays, Multidimensional Arrays

__Readings__

Attaway Chapters 2, 7, and 8

__Powerpoint Slides__

Week2.pdf

__In-class MATLAB code__

Week2.m

__Essence of Linear Algebra (youtube video)__

https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab

__Homework__

Homework2.pdf (due September 10th)

brain.mat

__Homework Solution__

Homework2_Solution.m

## Week 3 : September 10

Vectors and Matrices, Cell Arrays, Structures, Control Flow

__Readings__

Attaway Chapters 3 and 8

__Powerpoint Slides__

Week3.pdf

__In-class MATLAB code__

Week3.m

__Homework__

Homework3.pdf (due September 17th)

__Homework Solution__

Homework3_Solution.m

## Week 4 : September 17

Control Flow, Conditional Statements, Loops

__Readings__

Attaway Chapter 4, 5, and 6

__Powerpoint Slides__

Week4.pdf

__In-class MATLAB code__

Week4.m

Table_Examples.zip (from last week)

__Homework__

Homework4.pdf (due September 24th)

__Homework Solution__

Homework4_Solution.m

## Week 5 : September 24

More on Control Flow, Random Number Generators, Functions

__Readings__

Attaway Chapter 3 and 6

__Powerpoint Slides__

Week5.pdf

__In-class MATLAB code__

Week5.zip

__Homework__

Homework5.pdf (due October 1st)

__Homework Solution__

Homework5_Solution.m

__Further Readings__

Testing a Random Number Generator, John D. Cook (PDF)

Good Random Number Generators Are (Not So) Easy to Find, P. Hellekalek (PDF)

Random Numbers, Cleve Moler (PDF)

## Week 6 : October 1

Functions and Procedural Programming, Graphing and Plotting

__Readings__

Attaway Chapter 6, 10, and 12

__Powerpoint Slides__

Week6.pdf

__In-class MATLAB code__

Week6.zip

__Homework__

Homework6.pdf (due October 8th)

__Homework Solution__

Homework6_Solution.zip

## Week 7 : October 8

Graphing and Plotting, Image Processing

__Readings__

Attaway Chapters 12 and 13

__Powerpoint Slides__

Week7.pdf

__In-class MATLAB code__

Week7.zip

__Homework__

Homework7.pdf (due October 15th)

nashville.jpg

__Homework Solution__

Homework7_Solution.zip

## Week 8 : October 15

Image and Signal Processing (con't)

__Readings__

Psychophysics Toolbox Tutorial Page: http://peterscarfe.com/ptbtutorials.html

__Powerpoint Slides__

Week8.pdf

__In-class MATLAB code__

Week8.zip

__Homework__

Homework8.pdf (due Wednesday October 24th)

nashvillegray.jpg

nashvillegray-noise10.jpg

nashvillegray-noise40.jpg

nashvillegray-noise75.jpg

__Homework Solution__

Homework8_Solution.m

__Further Readings__

Sadr, J., & Sinha, P. (2004). Object recognition and Random Image Structure Evolution. *Cognitive Science*, 28, 259-287. [PDF]

Willenbockel, V., Sadr, J., Fiset, D., Horne, G.O., Gosselin, F., & Tanaka, J.W. (2010). Controlling low-level image properties: The SHINE toolbox. *Behavior Research Methods*, 42 (3), 671-684. [PDF]

## Week 9 : October 22

Psychophysics Toolbox

__Readings__

Psychophysics Toolbox Tutorial Page (http://peterscarfe.com/ptbtutorials.html)

__Powerpoint Slides__

Week9.pdf

__In-class MATLAB code__

Week9.zip

__Homework__

Homework9.pdf (due October 29th)

__Homework Solution__

*Given the diversity of possible solutions, no solution will be posted this week.*

__Papers on CRT, LCD, and LED Monitors for Research__

Brainard, D. H., Pelli, D. G., & Robson, T. (2002) Display characterization. In: J. Hornak (Ed.) *Encyclopedia of Imaging Science and Technology* (pp. 172-188): Wiley. [PDF]

Elze, T. (2010). Misspecifications of Stimulus Presentation Durations in Experimental Psychology: A Systematic Review of the Psychophysics Literature. *PLoS ONE.* [PDF]

Elze, T. (2010). Achieving precise display timing in visual neuroscience experiments. *Journal of Neuroscience Methods*, 191, 171-179. [PDF]

Sperdin, H.F., Repnow, M., Herzog, M.H., & Landis, T. (2013). An LCD tachistoscope with submillisecond precision. *Behavioral Research Methods*. [PDF]

Wang, P., & NikoliÄ‡, D. (2011). An LCD monitor with sufficiently precise timing for research in vision. *Frontiers in Human Neuroscience*. [PDF]

## Week 10 : October 29

Psychophysics Toolbox (con't)

__Readings__

Psychophysics Toolbox Tutorial Page (http://peterscarfe.com/ptbtutorials.html)

__Powerpoint Slides__

Week10.pdf

__In-class MATLAB code__

Week10.zip

__Homework__

Homework10.pdf (due November 12th)

Images from: bradylab.ucsd.edu/stimuli.html

## Week 11 : November 5

Timing in Psychophysics Toolbox, File I/O

__Readings__

Attaway Chapter 9

__Powerpoint Slides__

Week11.pdf

__In-class MATLAB code__

Week11.zip

## Week 12 : November 12

Matlab GUIs, Optimization

__Readings__

Attaway Chapter 13 (section on GUIs)

__Powerpoint Slides__

Week12.pdf

__In-class MATLAB code__

Week12.zip

__Homework__

Homework12.pdf (due Wednsday November 26th)

__Further Readings__

Kolda, T.G., Lewis, R.M., & Torczon, V. (2003). Optimization by Direct Search: New Perspectives on Some Classical and Modern Methods, SIAM Review, 45(3), 385-482. [PDF]

Wichman, F.A., & Hill, N.J. (2001). The psychometric function: I. Fitting, sampling, and goodness of fit. Perception & Psychophysics, 63, 1293-1313. [PDF]

Wichman, F.A., & Hill, N.J. (2001). The psychometric function: II. Bootstrap-based confidence intervals and sampling. Perception & Psychophysics, 63, 1314-1329. [PDF]

## Week 13 : November 26

High Performance Computing

__Powerpoint Slides__

Week13.pdf

__In-Class MATLAB Code__

Week13.zip

__ACCRE Links__

Main ACCRE site: http://www.accre.vanderbilt.edu

Matlab on ACCRE: https://www.vanderbilt.edu/accre/documentation/matlab/

ACCRE githib repository: https://github.com/accre/Matlab

## Week 14 : December 3

Introduction to Web-based Experiments

__Powerpoint Slides__

Week14.pdf

__Homework__

Homework14.pdf (due December 10th)

__ACCRE Slides__ (from here: https://www.vanderbilt.edu/accre/getting-started/training/):

Intro to the ACCRE Cluster (Will's slides): https://s3.amazonaws.com/vu-wp0/wp-content/uploads/sites/157/2017/10/26205641/intro_to_cluster.pdf

Intro to Linux: https://s3.amazonaws.com/vu-wp0/wp-content/uploads/sites/157/2017/10/26205557/NewIntroToUnix.pdf

Intro to SLURM: https://s3.amazonaws.com/vu-wp0/wp-content/uploads/sites/157/2017/10/26205754/intro_to_slurm.pdf

__In-Class MATLAB Code__

gpu.zip

__ACCRE Links__

Main ACCRE site: http://www.accre.vanderbilt.edu

Matlab on ACCRE: https://www.vanderbilt.edu/accre/documentation/matlab/

ACCRE githib repository: https://github.com/accre/Matlab

__Online Experiment Readings__

Crump, M. J., McDonnell, J. V., and Gureckis, T. M. (2013). Evaluating Amazon’s Mechanical Turk as a tool for experimental behavioral research. *PLoS ONE,* 8:e57410. [PDF]

De Leeuw, J. R. (2015). jsPsych: A JavaScript library for creating behavioral experiments in a Web browser. *Behavior Research Methods*, 47(1), 1-12. [PDF]

Germine, L., Nakayama, K., Duchaine, B. C., Chabris, C. F., Chatterjee, G., & Wilmer, J. B. (2012). Is the Web as good as the lab? Comparable performance from Web and lab in cognitive/perceptual experiments. *Psychonomic Bulletin & Review*, 19(5), 847-857. [PDF]

Gosling, S. D., Vazire, S., Srivastava, S., & John, O. P. (2004). Should we trust web-based studies? A comparative analysis of six preconceptions about Internet questionnaires. *American Psychologist*, 59(2). 93-104. [PDF]

Gureckis, T. M., Martin, J., McDonnell, J., Rich, A. S., Markant, D., Coenen, A., Halpern, D., Hamrick, J.B., & Chan, P. (2015). psiTurk: An open-source framework for conducting replicable behavioral experiments online. *Behavior Research Methods*, 1-14. [PDF]

Reimers, S, & Stewart, N. (2007). Adobe Flash as a medium for online experimentation: A test of reaction time measurement capabilities. *Behavior Research Methods*, 39, 365-370. [PDF]

Simcox, T., & Fiez, J. A. (2014). Collecting response times using Amazon Mechanical Turk and Adobe Flash. *Behavior Research Methods*, 46(1), 95-111. [PDF]