You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.4 KiB

This code implements the simulation results reported in:

M. W. Spratling (2008) Predictive Coding as a Model of Biased Competition in Visual Attention. Vision Research, 48(12):13911408.

Please cite this paper if this code is used in, or to motivate, any publications.


This code requires MATLAB. It was tested with MATLAB Version 7.7 (R2008b).

To use this software:

    run matlab 
    cd to the directory containing this code 
    run one of the functions with the name pc_*

Each of the pc_* functions runs one of the experiments reported in the above publication. The following table gives details of which MATLAB function produces each figure in this article.

Figure MATLAB Function
3 pc_spatial_selection.m
4 pc_spatial_selection_contrast.m
6 pc_featural_selection.m
7 pc_spatial_tuning_curve.m
8 pc_featural_tuning_curve.m
9 pc_posner.m
10 pc_binding.m
11 pc_binding_spatial.m