www.gusucode.com > nnet 案例源码 matlab代码程序 > nnet/RefPloterrhistExample.m
%% RefPloterrhist % This example shows %% code % Copyright 2015 The MathWorks, Inc. [x,t] = simplefit_dataset; net = feedforwardnet(20); net = train(net,x,t); y = net(x); e = t - y; ploterrhist(e,'bins',30)