%% Plot Output and Target Values
% This example shows how to use a feed-forward network to solve a simple fitting problem.

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

% Copyright 2020 The MathWorks, Inc.