%EZ.m since it's computed so often... %uses XX as (N*lam+M*theta) in exponent; uses KK as time interval %Cmean is conditional mean value ez=exp(-XX*KK); Cmean=1/XX - KK*ez/(1-ez);