📄 ga_f21m.m
字号:
function PI=GA_f21m(chro)
% function PI=GA_f21m(chro)
% Before you call this function file, the variable---
% MIN_offset must be declared global and assign value to it.
% Otherwise you will get the error message or empty PI.
% If you want to use this function along, issue the following
% command in the MATLAB command window:
% global MIN_offset
% MIN_offset=25;
% and then call this function as
% PI=GA_f21m([1.1 2.3])
% PenChen Chou, 8-10-2001
% Revised on 4-10-2002
global MIN_offset MUL_factor
x=chro(1); y=chro(2);
PI=x*sin(4*x)+1.1*y*sin(2*y);
attached_part;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -