I have this data from a mice experiment:
- Reaction Time
- Response Made (which can be 0,1 or 2)
- Visual contrast (one of 9 possible values)
I would like to use arrayfun to calculate the mean reaction time for each of the 9 values of visual contrast when the response made was 2.
Each set of data is written in a separate Matlab table.