神经网络预测程序实例
clc clearall closeall aa=xlsread('sy1.xls'); at=[{'日期:2005-6-30至2006-12-1'},{'开盘价'},{'成交量'},{'最高价'},{'最低价'},{'收盘价'}]; ys='brgmcyk'; pd=aa(1:330,:)'; [pn,minp,maxp]=premnmx(pd); pr=[pn(:,1:320);pn(:,2:321);pn(:,3:322);pn(:,4:323);pn(:,5:324)]; %px=[pn(:,1:300);pn(:,2:301);pn(:,3:302);pn