观澜Eric
2009-06-03, 21:36
达人帮帮忙看下
p=1.85*10^(-5);
c=0.95;
b=0.075;
t=0:10000;
r2=exp(-2*p*t)+(1+c)*(1-b)*exp(-p*t).*(1-exp(-p*t));
plot(t,r2,'b');
画出来的图像,当t=0时, r2=0., 应该是1啊
原式为:R21(t) =P0(t) +P1(t) +P2(t) =e-2λt+ (1 +c)(1 -β)e-λt(1 - e-λt)
请问怎么修改程序啊?
p=1.85*10^(-5);
c=0.95;
b=0.075;
t=0:10000;
r2=exp(-2*p*t)+(1+c)*(1-b)*exp(-p*t).*(1-exp(-p*t));
plot(t,r2,'b');
画出来的图像,当t=0时, r2=0., 应该是1啊
原式为:R21(t) =P0(t) +P1(t) +P2(t) =e-2λt+ (1 +c)(1 -β)e-λt(1 - e-λt)
请问怎么修改程序啊?