www.gusucode.com > nnet 案例源码 matlab代码程序 > nnet/RefPlotfitExample.m

    %% RefPlotfit
% This example shows 
%% code

% Copyright 2015 The MathWorks, Inc.

[x,t] = simplefit_dataset;
net = feedforwardnet(10);
net = train(net,x,t);
plotfit(net,x,t)