这是我已经写的:p=[1 0.393836 0.315068 0.188365;0.393836 0.315068 .188365 0.113014;0.315068 0.188356 0.113014 0.071918];
t=[0.188356 0.113014 0.071918 0.027397];goal=0.001;spread=1.0;mn=20;df=1;net=newrb(p,t,goal,spread,mn,df);y=sim(net,p);figure;plot(1:4,t);hold on;plot(1:4,y,'+');hold off;p是输入,t是输出。测试样本p_test=[0.054795;0.020548;0]。plot(p_test,y_tesy,'o');得到的总是水平的点,这是哪里错了?求大神指点啊!
y=sim(net,p)这一步不是仿真网络么?你知道具体怎么写代码吗,类似我写的,采用工具箱?