Matlab code supporting 'The Dynamics of Functional Brain Networks: Integrated Network States during Cognitive Task Performance'.
The manuscript is has been accepted for publication at Neuron -- a pdf is currently available at https://arxiv.org/abs/1511.02976.