bva_rt¶
- bva_rt(varargin)¶
bva_rt - extract reaction times from EEG trigger
function RT = bva_rt(trigger,stimCode,response);
Extract the reaction times from a trigger sequence made by bva_readmarker.m. For extraction and epochising see bva_epoch.m
- Input:
trigger = triggers (cf. bva_readmarker.m.) stimCode = stimulus code of interest response = stimulus code of required response sampRate = sampling rate (otherwise time would be discrete)
- Output:
rt = reaction times for correct trials
requires:
see also: ERRP/io, bva_readtrigger.m