matlab 7.8版本 就是2009a 的版本,这段程序哪位大虾帮忙看看,有好多错误,我不懂,菜鸟
答案:2 悬赏:40 手机版
解决时间 2021-01-24 22:38
- 提问者网友:杀生予夺
- 2021-01-24 00:30
matlab 7.8版本 就是2009a 的版本,这段程序哪位大虾帮忙看看,有好多错误,我不懂,菜鸟
最佳答案
- 五星知识达人网友:慢性怪人
- 2021-01-24 00:42
clear all;p=[50,0.1,11,32;30,0.05,9.5,29.5;70,0.16,13,34.5;30,0.16,9.5,34.5;70,0.05,13,29.5;15,0.01,4,20;100,1,20,50;15,1,4,50;100,0.01,20,20];t=[0.1 0.2 0.2 0.2 0.2 0.3 0.3 0.3 0.3];p=p'[minp,maxp]=mapminmax(p);%创建BP网络和定义训练函数及参数net=newff(minmax(minp),[8 1],{'tansig','purelin'},'trainlm');net.trainparam.show=25;net.trainparam.goal=0.0001;net.trainparam.epochs=1000;%训练神经网络[net,tr]=train(net,p,t);%输出训练后的权值和阈值iw1=net.iw{1}b1=net.b{1}iw2=net.lw{2}b2=net.b{2} matlab 7.8版本 就是2009a 的版本,这段程序哪位大虾帮忙看看,有好多错误,我不懂,菜鸟..clear all;p=[50,0.1,11,32;30,0.05,9.5,29.5;70,0.16,13,34.5;30,0.16,9.5,34.5;70,0.05,13,29.5;15,0.01,4,20;100,1,20,50;15,1,4,50;100,0.01,20,20];t=[0.(图1)答案网 www.Zqnf.com 答案网 www.Zqnf.com
全部回答
- 1楼网友:何以畏孤独
- 2021-01-24 02:00
正好我需要
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯