%% Plot Regression
%% code

[x,t] = simplefit_dataset;
net = feedforwardnet(10);
net = train(net,x,t);
y = net(x);
plotregression(t,y,'Regression')

% Copyright 2015 The MathWorks, Inc.