Sanjay's MATLAB library functions

See also separate page on Eye Movement analysis.
The whole library can be downloaded (0.15 MB) as a zip, or is available on GitHub / OSF. Unzip this and add 'matlib' to your MATLAB path. The individual functions are specified below.

2-dimensional data visualisation

Useful for looking at data consisting of paired measurements.

conditionalPlot Download

This is designed to do a between-subjects comparison of one variable conditioned on another -- when two variables are measured per trial. For example, if you supply the RT and accuracy for each trial, it will generate a conditional accuracy plot. Can handle multiple conditions and multiple subjects.