计算失效率.m

来自「一种基于matlab的遗传规划编码程序 其中包含交叉和变异的代码」· M 代码 · 共 10 行

M
10
字号
x = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17];
s = [0.713775874 0.29634898 0.184661976 0.067555699 0.065282673 0.043536751 0.072626388 0.051861302 0.034044291 0.094521532 0.028344671 0.05549174 0.03767571 0.024590204 0.019548087 0.151221872 0.032117679];
plot(x,s,'LineWidth',1,'Color','r','LineStyle',':');
legend('Current Reliability Function:R(t) = exp(-0.032117679*t)  Current Filure Rate = 0.032117679  Next Filure Time:t = 292.1355',3);
title('Failure Rate Curve by GP Modeling','FontName','Times New Roman' ,'FontSize',14);
xlabel('The Number of Software Testing','FontName','Times New Roman' ,'FontSize',12);
ylabel('Filure Rate at Current Time','FontName','Times New Roman' ,'FontSize',12);

grid on

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?