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

📄 displayit.m

📁 Real Genetic Algorithm RGA
💻 M
字号:

% -------------------- Display Function ----------------------

function[out1]=Displayit(Best_answ,Best,AverageFit,till)

    itrt=1:till;
    plot(itrt,Best,itrt,AverageFit);
    title('Plot 1 - Real Gen Algorithm');
    xlabel('Generation Times');
    ylabel('Function of Fitness'); 
    x=Best_answ(1)
    y=Best_answ(2)
    f=((1+cos(2*pi*x*y))*(exp(-((x^2)+(y^2))/2)))

    out1=1;

⌨️ 快捷键说明

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