⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 software_english.m

📁 一个遗传规划的源程序
💻 M
字号:
x = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16];
w = [1 1 1 5 4 24 6 14 33 1 30 22 13 22 77 7];
y = cumsum(w);
% g = ((x).*sqrt((x)-cos((((x)-log(x))+sin((x).^cot(x))).*tan(x)))).*sqrt(x) % 1687.3

g = abs(1.0112*((x).*sqrt((x)-cos((((x)-log(x))+sin((x).^cot(x))).*tan(x)))).*sqrt(x)-2.9678)

plot(x,g,'LineWidth',1,'Color','r','LineStyle',':');
hold on;

plot(x,y,'LineWidth',1,'Color','b','LineStyle',':');
hold off

legend('GP New Model','Real Failure Data Set',2);
title('Software Failure Data--Armored Force Engineering Institute Testing Case','FontName','Times New Roman' ,'FontSize',12);
xlabel('The Number of Software Testing','FontName','Times New Roman' ,'FontSize',12);
ylabel('The Next Failure Time','FontName','Times New Roman' ,'FontSize',12);

grid on

⌨️ 快捷键说明

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