bp神经网络的问题
p1=[6.95 6.45 6.01 5.87 5.89 5.28 5.17 5.08 4.87 4.79 4.79];
t1=[574.9
599.9
618.7
630.9
651.2
675.1
693.8
710.4
729.3
748.2
765.8];
v = p1';
expectlist = t1';
net=newff(minmax(v),[7,1],{'tansig','purelin'},'trainlm');
inputWeights=net.IW{1,1}
inputbias=net.b{1}
layerWeight=net.LW{2,1}
layerbias=net.b{2}
net.trainParam.show=100;
net.trainParam.lr=0.01;
net.trainParam.mc=0.1;
net.trainParam.epochs=10000;
net.trainParam.goal=1e-2;
[net,tr]=train(net,v,expectlist);
simplelist1 = 6.6344;
simplelist = simplelist1';
C=sim(net, simplelist);
re=abs(C);
以上是我的代码,运行之后却显示net=newff(minmax(v),[7,1],{'tansig','purelin'},'trainlm'); 出错,很急,求各位帮忙!!
[解决办法]
报的是什么错误?