function [Y] = mci_lds_gen (M,U,P) % LDS constrained: generate data % FORMAT [Y] = mci_lds_gen (M,U,P) % % M Model structure % U Inputs % P Parameters % % Y Data %__________________________________________________________________________ % Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging % Will Penny % $Id: mci_lds_gen.m 6548 2015-09-11 12:39:47Z will $ G = spm_mci_fwd (P,M,U); e = M.sd*randn(M.N,M.d); Y = G+e;