精选优质文档-倾情为你奉上%读取数据data=xlsread(data.xls); %训练预测数据data_train=data(1:113,:);data_test=data(118:123,:); input_train=data_train(:,1:9);output_train=data_train(:,10); input_test=data_test(:,1:9);output_test=data_test(:,10); %数据归一化inputn,mininput,maxinput,outputn,minoutput,maxoutput=premnmx(input_train,output_train); %对p和t进行字标准化预处理 net=newff(minmax(inputn),10,1,tansig,purelin,trainlm); net.trainParam.epochs=100;net.trainParam.lr=0.1;net.tra