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

📄 simobjp.m

📁 GA遗传算法的工具箱
💻 M
字号:
% SIMOBJP.M   (Plot SIMulation results of OBJective function)
%
% This function takes the name of a simulation objective
% function and the matrix of the best individuals and 
% plots the states of the system over time for the 
% last best individual.
%
% Author:     Hartmut Pohlheim
% History:    25.03.94     file created

function [val, t, x] = simobjp(OBJ_F, IndAll);

BestInd1=IndAll(size(IndAll,1),:);

[val t x] = feval(OBJ_F, BestInd1);

set(gcf,'Name',feval(OBJ_F,[],2));
plot(t, x);

% End of function

⌨️ 快捷键说明

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