APMSubfunctions is a collection of custom MATLAB functions that are useful for creating and presenting stimuli (some of which are dependent on PsychToolbox), analysing MRI and neurophysiology data, and producing beautiful figures.