This release contains the code utilized in our study “Sensory-Motor Cortices Shape Functional Connectivity Dynamics in the Human Brain”. The most updated code can be found at https://github.com/ThomasYeoLab/CBIG/tree/master/stable_projects/fMRI_dynamics/Kong2021_pMFM