www.gusucode.com > nnet 案例源码 matlab代码程序 > nnet/RefPloterrcorrExample.m
%% RefPloterrcorr % This example shows %% code % Copyright 2015 The MathWorks, Inc. [X,T] = simplenarx_dataset; net = narxnet(1:2,20); [Xs,Xi,Ai,Ts] = preparets(net,X,{},T); net = train(net,Xs,Ts,Xi,Ai); Y = net(Xs,Xi,Ai); E = gsubtract(Ts,Y); ploterrcorr(E)