上传者: 42187923
|
上传时间: 2022-03-03 10:29:29
|
文件大小: 106KB
|
文件类型: -
Matlab程序
s=[]; f5=[];
for m=300:360
s1=((1-0.05)*m-(1+0.2)*sum(((m-300):-1:1).*binopdf(0:m-300-1,m,0.05)))/180-1;
s=[s,s1];
if m<=305
f=0;
else f=sum(binopdf(0:m-300-6,m,0.05));
end
f5=[f5 f];
end
x=300:360;
plot(x,s,x,f5),grid