请大家用GATOOL工具箱试试以下的目标函数,我的运算后报错。
Optimization running.
Error using ==> ga
Too many output arguments.
function netout=netcal(pm)
global pm
global t
iN=5;
hN=3;
oN=1;
% add your training sets here
P=[1.38 5.37 3.47 0.95 0.91 1.51 1.96 1.79 1.3 1.81 3.01 0.76 0.62 0.55 2.63 1.47 4.41 0.7 3.74 0.64 1.09 1.48 1.2 3.38 0.71 0.62 1.12 0.81 0.91 0.59 0.8 0.94 0.76 0.84 0.51
1.95 3.83 2 1.81 3.89 6.18 1.52 5.59 2.24 2.79 2.82 3.5 4.5 2.2 4.65 2.48 2.76 3.96 4.2