为什么我的MATLAB中国trainwh语句不能使用?
P=;T=;
=size(P);
=size(T);
B=rands(S,1);
W=rands(S,R);
B=rands(S,1);
max_epoch=20;
err_goal=0.001;
lr=0.4*maxlinlr(P);
disp_freq=1;
TP=;
=trainwh(W,B,P,T,TP)
上面是我的程序语句,当我按执行以后,系统就给出提示:
Undefined function 'trainwh' for input arguments of type 'double'.
请问这是怎么回事? 貌似“trainwh”是在老版本上的指令,你用了新版本的电脑运行了。我刚用matlab2009运行过,也显示过时,不过还能出结果。如下
W =
-0.2289
B =
0.7112
epochs =
11
error =
7.5867 2.8556 1.0969 0.4308 0.1732 0.0713 0.0300 0.0129 0.0056 0.0025 0.0011 0.0005
天海星云 发表于 2012-11-24 13:05 static/image/common/back.gif
貌似“trainwh”是在老版本上的指令,你用了新版本的电脑运行了。我刚用matlab2009运行过,也显示过时,不过 ...
那该怎么调整呢? mathhgr 发表于 2012-11-24 13:10 static/image/common/back.gif
那该怎么调整呢?
用老板的软件吧 这是老版本的命令代码,不适合2012a版本
页:
[1]