function nLV = DynamicsWM_NetworkBFLogLV_DI(Nr,rpLV,rint_LogLV,CSD,ExtTh,Nd,dtau,taurng,r0_est,Ki_est,d_est) Nc = length(rpLV); Nt = sum(Nd); tcLV = zeros(1,Nr*Nt); XLVc = zeros(Nc,Nr*Nt); cct = 0; for rnd = 1:Nr, XLV = CSD*rpLV'; % initial number of each cell type XLVlm = zeros(Nc,Nt); ctLV = 0; while (ctLV