The code for the paper:

Feeney DF, Meyer FG, Noone N, Enoka RM (2017) A latent low-dimensional common input drives a pool of motor neurons: a probabilistic latent state-space model. J Neurophysiol 118:2238-2250

is available here and an earlier version is also available at the authors repository:

Once the following packages are installed (adding logb.m and plotSpikeRaster.m to the Neural-models-master folder) from matlabcentral:

typing CompExpNeuro at the matlab command prompt will generate these images:

screenshot 1

Note that cmtm from

is required for New_coher.m which generates the following graphs:

screenshot 2

the last of which is similar to Figure 7D in the paper.